-
Notifications
You must be signed in to change notification settings - Fork 14
/
.appveyor.yml
56 lines (40 loc) · 1.43 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
55
56
version: '{branch}-{build}'
os: Visual Studio 2015
platform:
- x86
- x64
configuration:
- Release
- Debug
environment:
matrix:
- GENERATOR: Visual Studio 14 2015
- GENERATOR: Visual Studio 14 2015 Win64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATOR: Visual Studio 15 2017
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
GENERATOR: Visual Studio 15 2017 Win64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
GENERATOR: Visual Studio 16 2019
- GENERATOR: MinGW Makefiles
BINDIR: C:\MinGW\bin
- GENERATOR: MinGW Makefiles
COMPILER: MinGW 5
BINDIR: C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin
- GENERATOR: MinGW Makefiles
COMPILER: MinGW 6
BINDIR: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
- GENERATOR: MinGW Makefiles
COMPILER: MinGW 6
BINDIR: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
init: []
before_build:
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets")
- if defined BINDIR (set "PATH=%BINDIR%;%PATH:C:\Program Files\Git\usr\bin;=%")
- md build
- cd build
- cmake -Wno-dev -DPEGTL_BUILD_EXAMPLES=OFF --config "%CONFIGURATION%" -G "%GENERATOR%" ..
build_script:
- cmake --build . --config "%CONFIGURATION%"
test_script:
- ctest -C "%CONFIGURATION%" --output-on-failure