forked from oneapi-src/oneapi-ci
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.appveyor.yml
223 lines (198 loc) · 6.63 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# SPDX-FileCopyrightText: 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT
environment:
global:
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396_offline.exe
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441_offline.exe
LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/l_BaseKit_p_2023.2.0.49397_offline.sh
LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/l_HPCKit_p_2023.2.0.49440_offline.sh
MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/edb4dc2f-266f-47f2-8d56-21bc7764e119/m_HPCKit_p_2023.2.0.49443_offline.dmg
WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-compiler
WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler
WINDOWS_DPCPP_COMPONENTS: intel.oneapi.win.dpcpp-compiler
LINUX_CPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
LINUX_FORTRAN_COMPONENTS: intel-oneapi-compiler-fortran
LINUX_DPCPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp
LINUX_CPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler-pro
LINUX_FORTRAN_COMPONENTS_WEB: intel.oneapi.lin.ifort-compiler
LINUX_DPCPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler
MACOS_CPP_COMPONENTS: intel.oneapi.mac.cpp-compiler
MACOS_FORTRAN_COMPONENTS: intel.oneapi.mac.ifort-compiler
SAMPLES_TAG: 2023.2.0
VS_VER: vs2019
matrix:
- job_name: build_windows_cpp
appveyor_build_worker_image: Visual Studio 2019
- job_name: build_windows_fortran
appveyor_build_worker_image: Visual Studio 2019
- job_name: build_windows_dpcpp
appveyor_build_worker_image: Visual Studio 2019
- job_name: build_linux_cpp
appveyor_build_worker_image: ubuntu2004
- job_name: build_linux_fortran
appveyor_build_worker_image: ubuntu2004
- job_name: build_linux_dpcpp
appveyor_build_worker_image: ubuntu2004
- job_name: build_linux_apt_cpp
appveyor_build_worker_image: ubuntu2004
- job_name: build_linux_apt_fortran
appveyor_build_worker_image: ubuntu2004
- job_name: build_linux_apt_dpcpp
appveyor_build_worker_image: ubuntu2004
- job_name: build_mac_cpp
appveyor_build_worker_image: macos
- job_name: build_mac_fortran
appveyor_build_worker_image: macos
for:
-
matrix:
only:
- job_name: build_windows_cpp
install:
cmd: scripts/install_windows.bat %WINDOWS_HPCKIT_URL% %WINDOWS_CPP_COMPONENTS%
build_script:
cmd: scripts/build_windows.bat c++ %VS_VER% %SAMPLES_TAG%
# Delete the following if you don't want to save install logs
artifacts:
- name: InstallLogs
path: |
extract.log
bootstrapper*
installer*
-
matrix:
only:
- job_name: build_windows_fortran
install:
cmd: scripts/install_windows.bat %WINDOWS_HPCKIT_URL% %WINDOWS_FORTRAN_COMPONENTS%
build_script:
cmd: scripts/build_windows.bat fortran %VS_VER% %SAMPLES_TAG%
# Delete the following if you don't want to save install logs
artifacts:
- name: InstallLogs
path: |
extract.log
bootstrapper*
installer*
-
matrix:
only:
- job_name: build_windows_dpcpp
install:
cmd: scripts/install_windows.bat %WINDOWS_BASEKIT_URL% %WINDOWS_DPCPP_COMPONENTS%
build_script:
cmd: scripts/build_windows.bat dpc++ %VS_VER% %SAMPLES_TAG%
# Delete the following if you don't want to save install logs
artifacts:
- name: InstallLogs
path: |
extract.log
bootstrapper*
installer*
-
matrix:
only:
- job_name: build_linux_cpp
install:
sh: |
scripts/install_linux.sh $LINUX_HPCKIT_URL $LINUX_CPP_COMPONENTS_WEB
build_script:
sh: scripts/build_linux.sh c++ $SAMPLES_TAG
# Delete the following if you don't want to save install logs
artifacts:
- name: InstallLogs
path: |
extract.log
bootstrapper*
installer*
-
matrix:
only:
- job_name: build_linux_fortran
install:
sh: |
scripts/install_linux.sh $LINUX_HPCKIT_URL $LINUX_FORTRAN_COMPONENTS_WEB
build_script:
sh: scripts/build_linux.sh fortran $SAMPLES_TAG
# Delete the following if you don't want to save install logs
artifacts:
- name: InstallLogs
path: |
extract.log
bootstrapper*
installer*
-
matrix:
only:
- job_name: build_linux_dpcpp
install:
sh: |
scripts/install_linux.sh $LINUX_BASEKIT_URL $LINUX_DPCPP_COMPONENTS_WEB
build_script:
sh: scripts/build_linux.sh dpc++ $SAMPLES_TAG
# Delete the following if you don't want to save install logs
artifacts:
- name: InstallLogs
path: |
extract.log
bootstrapper*
installer*
-
matrix:
only:
- job_name: build_linux_apt_cpp
install:
sh: |
scripts/setup_apt_repo_linux.sh
scripts/install_linux_apt.sh $LINUX_CPP_COMPONENTS
build_script:
sh: scripts/build_linux.sh c++ $SAMPLES_TAG
-
matrix:
only:
- job_name: build_linux_apt_fortran
install:
sh: |
scripts/setup_apt_repo_linux.sh
scripts/install_linux_apt.sh $LINUX_FORTRAN_COMPONENTS
build_script:
sh: scripts/build_linux.sh fortran $SAMPLES_TAG
-
matrix:
only:
- job_name: build_linux_apt_dpcpp
install:
sh: |
scripts/setup_apt_repo_linux.sh
scripts/install_linux_apt.sh $LINUX_DPCPP_COMPONENTS
build_script:
sh: scripts/build_linux.sh dpc++ $SAMPLES_TAG
-
matrix:
only:
- job_name: build_mac_cpp
install:
sh: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_CPP_COMPONENTS
build_script:
sh: scripts/build_macos.sh c++ $SAMPLES_TAG
# Delete the following if you don't want to save install logs
artifacts:
- name: InstallLogs
path: |
bootstrapper*
installer*
-
matrix:
only:
- job_name: build_mac_fortran
install:
sh: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_FORTRAN_COMPONENTS
build_script:
sh: scripts/build_macos.sh fortran $SAMPLES_TAG
# Delete the following if you don't want to save install logs
artifacts:
- name: InstallLogs
path: |
bootstrapper*
installer*