mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 14:40:02 +00:00
27 lines
892 B
YAML
27 lines
892 B
YAML
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
|