-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.appveyor.yml
47 lines (40 loc) · 1.15 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
version: 2.1.1.{build}
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
TOOLSET: v141
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
TOOLSET: v140
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
TOOLSET: v120
branches:
except:
- coverity_scan
configuration:
- Debug
- Release
platform:
- x86
- x64
- ARM
- ARM64
matrix:
exclude:
- platform: ARM64
TOOLSET: v140
- platform: ARM64
TOOLSET: v120
build_script:
- ps: >
msbuild "C:\projects\t1ha\t1ha.sln" /verbosity:minimal
/logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
/property:PlatformToolset=$env:TOOLSET
/property:Configuration=$env:CONFIGURATION
/property:Platform=$env:PLATFORM
test_script:
- ps: |
if (($env:PLATFORM -eq "x86") -and (Test-Path "C:\projects\t1ha\Win32\$env:CONFIGURATION\t1ha-test\t1ha-test.exe" -PathType Leaf)) {
& "C:\projects\t1ha\Win32\$env:CONFIGURATION\t1ha-test\t1ha-test.exe"
} elseif (($env:PLATFORM -ne "ARM") -and ($env:PLATFORM -ne "ARM64")) {
& "C:\projects\t1ha\$env:PLATFORM\$env:CONFIGURATION\t1ha-test\t1ha-test.exe"
}