-
Notifications
You must be signed in to change notification settings - Fork 9
/
.appveyor.yml
36 lines (36 loc) · 1.12 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
version: 1.0.0-{build}
os: Windows Server 2012 R2
platform: x64
configuration: Release
branches:
except:
- coverity_scan
environment:
matrix:
- CMAKE_GENERATOR: "NMake Makefiles"
ARCH: "amd64_x86"
BITS: 32
- CMAKE_GENERATOR: "NMake Makefiles"
ARCH: "amd64"
BITS: 64
- CMAKE_GENERATOR: "MinGW Makefiles"
ARCH: "i686"
BITS: 32
- CMAKE_GENERATOR: "MinGW Makefiles"
ARCH: "x86_64"
BITS: 64
install:
- git clone --quiet https://github.com/OpenMA/openma-data.git data
before_build:
- SET PATH=%PATH:C:\Program Files\Git\usr\bin;=% # We cannot have sh.exe in the PATH (MinGW)
- SET PATH=C:\msys64\mingw%BITS%\bin;C:\Windows\System32;C:\Windows;%PATH%
- SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC;%PATH%
- vcvarsall %ARCH%
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE:CHAR=%CONFIGURATION% -DBUILD_SHARED_LIBS:BOOL=1 -DBUILD_UNIT_TESTS:BOOL=1 -DOPENMA_TESTING_DATA_PATH:CHAR=C:\projects\openma\data -G "%CMAKE_GENERATOR%" ..
build_script:
- echo BUILD INFO - %CMAKE_GENERATOR% / %ARCH% (%BITS%-bit) / %CONFIGURATION%
- cmake --build .
test_script:
- ctest -VV