-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
54 lines (47 loc) · 1.56 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
43
44
45
46
47
48
49
50
51
52
53
54
version: '0.0.2{build}'
clone_depth: 5
build:
parallel: true
verbosity: minimal
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
ARCHITECTURE: x64
GEN: "Visual Studio 15 2017 Win64"
CFG: Debug
BUILD_OUT: "x64-Debug"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
ARCHITECTURE: x64
GEN: "Visual Studio 15 2017 Win64"
CFG: Release
BUILD_OUT: "x64-Release"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
ARCHITECTURE: x86
GEN: "Visual Studio 15 2017"
CFG: Debug
BUILD_OUT: "x86-Debug"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
ARCHITECTURE: x86
GEN: "Visual Studio 15 2017"
CFG: Release
BUILD_OUT: "x86-Release"
NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip
MSVC_HOME: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community"
install:
- git submodule update --init --recursive
# Get Ninja
- appveyor DownloadFile %NINJA_URL% -FileName ninja.zip
- 7z x ninja.zip -oC:\ninja > nul
- set PATH=C:\ninja;%PATH%
build_script:
- call "%MSVC_HOME%\VC\Auxiliary\Build\vcvarsall.bat" %ARCHITECTURE%
- mkdir Build\%BUILD_OUT% && cd Build\%BUILD_OUT%
- cmake ../../ -GNinja -DCMAKE_BUILD_TYPE=%CFG%
- ninja
- cd ../../
after_build:
- mkdir Artifacts\%CFG%_%ARCHITECTURE%
- xcopy Build\%BUILD_OUT%\bin Artifacts\%CFG%_%ARCHITECTURE%\ /s/h/e/k/f/c
artifacts:
- path: Artifacts\%CFG%_%ARCHITECTURE%\
name: "Acid Examples $(appveyor_build_version) (%CFG% %ARCHITECTURE%)"