-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathappveyor.yml
47 lines (45 loc) · 915 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '{build}'
branches:
only:
- master
clone_folder: c:\projects\vm
image:
- Visual Studio 2017
configuration:
- Release
platform:
- Win32
- x64
skip_tags: true
matrix:
fast_finish: true
# skip unsupported combinations
init:
- set arch=
- if "%PLATFORM%"=="x64" ( set arch= Win64)
- echo %arch%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
- echo %generator%
before_build:
- cmd: |-
cmake --version
cmake -G %generator% -S . -B build
install:
- git submodule update --init --recursive
build:
project: c:\projects\vm\build\sqfvm.sln
verbosity: minimal
parallel: true
cache:
- build
only_commits:
files:
- CMakeLists.txt
- appveyor.yml
- src/
- tests/
test_script:
- cmd: |-
cd c:\projects\vm
.\build\Release\sqfvm.exe -a --no-execute-print -i tests\runTests.sqf