forked from metashell/metashell
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
40 lines (34 loc) · 1.06 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
os: Visual Studio 2017
image: Previous Visual Studio 2017
platform:
- Win32
configuration:
- Release
environment:
matrix:
- TESTS: unit
- TESTS: internal
- TESTS: templight
- TESTS: clang
- TESTS: msvc
- TESTS: wave
- TESTS: auto
install:
- md bin\windows_%platform%
- cd bin\windows_%platform%
- appveyor DownloadFile https://github.com/metashell/templight_binary/releases/download/templight_2d691c/templight_windows.zip
- 7z -y x templight_windows.zip
- appveyor-retry choco install nsis --version 2.50.0.20160103
- cd ..\..
before_build:
- md bin\windows_%platform%\metashell
- cd bin\windows_%platform%\metashell
- if "%platform%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 15
- if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 15 Win64
- cmake -G "%CMAKE_GENERATOR_NAME%" ..\..\..
- cd ..\..\..
build_script:
- set NO_TEMPLIGHT=1
- set METASHELL_NO_DOC_GENERATION=1
- "\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\" x86"
- build.bat