forked from UniSwarm/uDevkit-IDE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
42 lines (33 loc) · 1.09 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: 0.{build}
environment:
QTDIR: C:\Qt\5.9\msvc2015
clone_folder: c:\dev\udk-ide
clone_depth: 5
init:
- set PATH=C:\msys64;C:\Qt\5.9\msvc2015\bin;%PATH%
install:
- git submodule update --init --recursive
- '%QTDIR%\bin\qtenv2.bat'
- qmake -v
- call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %ARCH%
- set make=nmake.exe
before_build:
- mkdir %APPVEYOR_BUILD_FOLDER%\build
- cd %APPVEYOR_BUILD_FOLDER%\build
- qmake ..\src\udk-ide.pro -r -Wall CONFIG+=release
build_script:
- cd %APPVEYOR_BUILD_FOLDER%\build
- '%make%'
after_build:
- cd %APPVEYOR_BUILD_FOLDER%
- cp -r contrib\edbee-data\keymaps data\
- cp -r contrib\edbee-data\syntaxfiles data\
- 7z a udk-ide-win64-v0-nodll.zip "%APPVEYOR_BUILD_FOLDER%\..\*" -xr!build -xr!.git -xr!src -xr!contrib
- windeployqt.exe "%APPVEYOR_BUILD_FOLDER%\bin"
- 7z a udk-ide-win64-v0.zip "%APPVEYOR_BUILD_FOLDER%\..\*" -xr!build -xr!.git -xr!src -xr!contrib -xr!udk-ide*.zip
artifacts:
- path: udk-ide-win64-v0-nodll.zip
name: udk-ide-nodll
- path: udk-ide-win64-v0.zip
name: udk-ide
test: off