-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
32 lines (27 loc) · 928 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
version: '{build}'
configuration:
- Debug
- Release
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VS_VERSION: 15 2017
VS_PLATFORM: win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VS_VERSION: 15 2017
VS_PLATFORM: x64
cache:
- env/lib/system/build -> appveyor.yml
before_build:
- cmd: |
git submodule update --init --recursive
cd %APPVEYOR_BUILD_FOLDER%/env/lib/system
cmake -Bbuild -G "Visual Studio %VS_VERSION%" -DCMAKE_GENERATOR_PLATFORM=%VS_PLATFORM% -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DEocSystem_BUILD_TESTS=ON
build:
project: env/lib/system/build/EocSystem.sln
parallel: true
verbosity: minimal
test_script:
- cmd: |
cd %APPVEYOR_BUILD_FOLDER%/env/lib/system/build/test/%CONFIGURATION%
EocSystem_Test.exe -r junit -o test_result.xml & curl -F "file=@test_result.xml" "https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID%"