-
Notifications
You must be signed in to change notification settings - Fork 47
/
appveyor.yml
126 lines (120 loc) · 4.25 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# version format
version: 1.0.{build}
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
build: off
platform: Linux64 GCC
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
build: off
platform: Linux64 Clang
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: macOS
build: off
platform: OSX64 Clang
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
vsversion: 2019
platform: Android ARM
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
vsversion: 2019
platform: Android ARM64
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
vsversion: 2019
platform: MSVC ARM64
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
vsversion: 2015
platform: MSVC 32 SSE 2
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
vsversion: 2015
platform: MSVC 64 SSE 2
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: MSVC 32 SSE 2
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: MSVC 64 SSE 2
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: MSVC 64 SSE 4.1
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: MSVC 64 AVX
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: LLVM 32 SSE 2
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: LLVM 64 SSE 2
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: LLVM 64 SSE 4.1
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: LLVM 64 AVX
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: MSVC ARM
configuration: Release
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
vsversion: 2017
platform: MSVC 64 Scalar
configuration: Release
install:
- cmd: if %vsversion%==2015
"Visual Studio 2015.bat"
- cmd: if %vsversion%==2017
"Visual Studio 2017.bat"
- cmd: if %vsversion%==2019
"Visual Studio 2019.bat"
- sh: if [[ $APPVEYOR_BUILD_WORKER_IMAGE = Ubuntu ]]; then ./Linux.sh; fi;
- sh: if [[ $APPVEYOR_BUILD_WORKER_IMAGE = macOS ]]; then ./Xcode.sh; fi;
build_script:
- cmd: if %vsversion%==2015
msbuild "C:\projects\hlslpp\workspace\vs2015\hlsl++.sln" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- cmd: if %vsversion%==2017
msbuild "C:\projects\hlslpp\workspace\vs2017\hlsl++.sln" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- cmd: if %vsversion%==2019
msbuild "C:\projects\hlslpp\workspace\vs2019\hlsl++.sln" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- sh: if [[ $platform = "Linux64 GCC" ]]; then
pushd workspace/gmake2;
set -e;
make all config=release_linux64_gcc;
popd; fi;
- sh: if [[ $platform = "Linux64 Clang" ]]; then
pushd workspace/gmake2;
set -e;
make all config=release_linux64_clang;
popd; fi;
- sh: if [[ $platform = "OSX64 Clang" ]]; then
pushd workspace/xcode4;
set -e;
xcodebuild build -project unit_tests.xcodeproj -configuration Release;
popd; fi;
test_script:
- cmd: if not "%PLATFORM%"=="Android ARM"
if not "%PLATFORM%"=="Android ARM64"
if not "%PLATFORM%"=="MSVC ARM"
if not "%PLATFORM%"=="MSVC ARM64"
if not "%PLATFORM%"=="MSVC ARM"
"workspace/vs%vsversion%/bin/%PLATFORM%/%CONFIGURATION%/unit_tests.exe" "unit_tests" "appveyor"
#matrix:
# exclude:
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# platform: MSVC ARM64