forked from CastXML/CastXMLSuperbuild
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
46 lines (31 loc) · 867 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
os:
- Visual Studio 2017
branches:
only:
- master
version: "0.0.1.{build}"
install:
- mkdir C:\Support
- cd C:\Support
- set NINJA_URL="/~https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip"
- appveyor DownloadFile %NINJA_URL% -FileName ninja.zip
- 7z x ninja.zip -oC:\Support\ninja > nul
- set PATH=C:\Support\ninja;%PATH%
- ninja --version
- cd C:\projects
before_build:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
build_script:
- mkdir build
- cd build
- cmake -G Ninja ../CastXMLSuperbuild
- cmake --build .
- cd castxml-prefix\src\castxml-build
- ctest
- cd ..\..\..
- 7z a castxml-windows.zip castxml
- move castxml-windows.zip C:\projects\CastXMLSuperbuild\
test: off
artifacts:
- path: 'castxml-windows.zip'
deploy: off