forked from aseprite/aseprite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
26 lines (23 loc) · 892 Bytes
/
.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
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VCVARS_FILE: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat
VCVARS_ARG:
ENABLE_UI: ON
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VCVARS_FILE: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
VCVARS_ARG:
ENABLE_UI: ON
install:
- call "%VCVARS_FILE%" %VCVARS_ARG%
clone_script:
- git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
- cd %APPVEYOR_BUILD_FOLDER%
- git checkout -qf %APPVEYOR_REPO_COMMIT%
- git submodule update --init --recursive
build_script:
- mkdir build
- cd build
- cmake .. -G "NMake Makefiles" -DENABLE_TESTS=ON -DENABLE_UI=%ENABLE_UI%
- nmake
- ctest --output-on-failure