forked from sheredom/utest.h
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (47 loc) · 1.55 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
version: '{build}'
skip_tags: true
skip_branch_with_pr: true
install: []
environment:
matrix:
- VSVERSION: Visual Studio 9 2008
- VSVERSION: Visual Studio 10 2010
- VSVERSION: Visual Studio 11 2012
- VSVERSION: Visual Studio 12 2013
- VSVERSION: Visual Studio 14 2015
- VSVERSION: Visual Studio 15 2017
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- VSVERSION: Visual Studio 16 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
platform:
- Win32
- x64
matrix:
exclude:
- platform: x64
VSVERSION: Visual Studio 9 2008
# VS 2019 / 64-bit is tested in GitHub Actions instead.
- platform: x64
VSVERSION: Visual Studio 16 2019
configuration:
- Debug
# Removed to reduce configuration explosion.
# - RelWithDebInfo
# - MinSizeRel
- Release
build_script:
- md build
- cd build
- if NOT "%VSVERSION%"=="Visual Studio 16 2019" if "%PLATFORM%"=="x64" cmake -G "%VSVERSION% Win64" ../test
- if NOT "%VSVERSION%"=="Visual Studio 16 2019" if "%PLATFORM%"=="Win32" cmake -G "%VSVERSION%" ../test
- if "%VSVERSION%"=="Visual Studio 16 2019" cmake -G "%VSVERSION%" -A "%PLATFORM%" ../test
- msbuild /m /p:Configuration="%CONFIGURATION%" /p:Platform="%PLATFORM%" utest.sln
- copy %CONFIGURATION%\utest_test.exe utest_test.exe
- copy %CONFIGURATION%\utest_test_wpo.exe utest_test_wpo.exe
- copy %CONFIGURATION%\utest_test_wpo.exe utest_test_mt.exe
test_script:
- utest_test.exe
- utest_test_wpo.exe
- utest_test_mt.exe
- utest_test.exe --random-order
- utest_test.exe --random-order=42