forked from oneapi-src/oneapi-ci
-
Notifications
You must be signed in to change notification settings - Fork 5
127 lines (116 loc) · 3.7 KB
/
build_windows_online_scheduled.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
# SPDX-FileCopyrightText: 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
name: build_windows_online_scheduled
on:
push: {}
workflow_dispatch: {}
schedule:
- cron: '0 0 * * *'
env:
WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396.exe
WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441.exe
WINDOWS_IOTKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/dbdf4222-ff39-4c53-9b1a-23585f9a5e25/w_IoTKit_p_2023.2.0.49274.exe
WINDOWS_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b80ac7cd-0ef8-45b3-ad1f-2e8504113c34/w_RenderKit_p_2023.2.0.49368.exe
SAMPLES_TAG: 2023.2.0
jobs:
build_windows_basekit:
runs-on: windows-latest
timeout-minutes: 90
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: tracert
run: tracert -h 1 installer.repos.intel.com
- name: install_basekit
run: scripts/install_windows.bat $WINDOWS_BASEKIT_URL
- name: build_dpc++
run: scripts/build_windows.bat dpc++ 2022 $SAMPLES_TAG
# Delete the following if you don't want to save install logs
- name: Saving install logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: InstallLogs_${{ github.job }}
path: |
extract.log
bootstrapper*
installer*
retention-days: 7
build_windows_hpckit:
runs-on: windows-latest
timeout-minutes: 90
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: tracert
run: tracert -h 1 installer.repos.intel.com
- name: install_hpckit
run: scripts/install_windows.bat $WINDOWS_HPCKIT_URL
- name: build_c++
run: scripts/build_windows.bat c++ 2022 $SAMPLES_TAG
- name: build_fortran
run: scripts/build_windows.bat fortran 2022 $SAMPLES_TAG
# Delete the following if you don't want to save install logs
- name: Saving install logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: InstallLogs_${{ github.job }}
path: |
extract.log
bootstrapper*
installer*
retention-days: 7
build_windows_iotkit:
runs-on: windows-latest
timeout-minutes: 90
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: tracert
run: tracert -h 1 installer.repos.intel.com
- name: install_iotkit
run: scripts/install_windows.bat $WINDOWS_IOTKIT_URL
- name: build_c++
run: scripts/build_windows.bat c++ 2022 $SAMPLES_TAG
# Delete the following if you don't want to save install logs
- name: Saving install logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: InstallLogs_${{ github.job }}
path: |
extract.log
bootstrapper*
installer*
retention-days: 7
build_windows_renderkit:
runs-on: windows-latest
timeout-minutes: 90
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: tracert
run: tracert -h 1 installer.repos.intel.com
- name: install_renderkit
run: scripts/install_windows.bat $WINDOWS_RENDERKIT_URL
# Delete the following if you don't want to save install logs
- name: Saving install logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: InstallLogs_${{ github.job }}
path: |
extract.log
bootstrapper*
installer*
retention-days: 7