forked from ericniebler/range-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (31 loc) · 862 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
shallow_clone: true
platform:
- x86
- x64
configuration:
- Debug
- Release
cache:
- C:\cmake-3.9.1-win32-x86
install:
- ps: |
if (![IO.File]::Exists("C:\cmake-3.9.1-win32-x86\bin\cmake.exe")) {
Start-FileDownload 'https://cmake.org/files/v3.9/cmake-3.9.1-win32-x86.zip'
7z x -y cmake-3.9.1-win32-x86.zip -oC:\
}
$env:PATH="C:\cmake-3.9.1-win32-x86\bin;$env:PATH"
- mkdir build && cd build
- ps: |
if ($env:PLATFORM -eq "x64" -and $env:CONFIGURATION -eq "Debug") {
$env:NO_HEADER_CHECK=0
} else {
$env:NO_HEADER_CHECK=1
}
- cmake .. -DRANGE_V3_NO_HEADER_CHECK=%NO_HEADER_CHECK% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -T v140_clang_c2
build:
project: c:/projects/range-v3/build/ALL_BUILD.vcxproj
parallel: true
verbosity: minimal
test_script:
- ctest -j2
deploy: off