@@ -2,6 +2,12 @@ name: SYCL Release Branch Nightly
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ inputs :
6
+ testing_branch :
7
+ description : |
8
+ Branch to test, e.g. sycl-rel-6_0_0.
9
+ If nothing is specified, the last release branch is used.
10
+
5
11
schedule :
6
12
- cron : ' 0 3 * * *'
7
13
20
26
steps :
21
27
- uses : actions/checkout@v4
22
28
with :
23
- ref : sycl-rel-6_1_0
29
+ ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
24
30
- run : git show --quiet | tee -a $GITHUB_STEP_SUMMARY
25
31
26
32
- id : is_new_commit
40
46
build_artifact_suffix : default
41
47
build_configure_extra_args : ' --hip --cuda'
42
48
build_image : ghcr.io/intel/llvm/ubuntu2204_build:latest
43
- build_ref : sycl-rel-6_1_0
49
+ build_ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
44
50
45
51
# We upload the build for people to download/use, override its name and
46
52
# prefer widespread gzip compression.
86
92
target_devices : ${{ matrix.target_devices }}
87
93
tests_selector : ${{ matrix.tests_selector }}
88
94
extra_lit_opts : ${{ matrix.extra_lit_opts }}
89
- repo_ref : sycl-rel-6_1_0
95
+ repo_ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
90
96
devops_ref : sycl
91
97
sycl_toolchain_artifact : sycl_linux_default
92
98
sycl_toolchain_archive : ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
97
103
if : ${{ github.repository == 'intel/llvm' && needs.check_for_new_commits.outputs.is_new_commit != 'false' }}
98
104
uses : ./.github/workflows/sycl-windows-build.yml
99
105
with :
100
- ref : sycl-rel-6_1_0
106
+ ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
101
107
102
108
# We upload both Linux/Windows build via Github's "Releases"
103
109
# functionality, make sure Linux/Windows names follow the same pattern.
@@ -116,7 +122,7 @@ jobs:
116
122
runner : ' ["Windows","gen12"]'
117
123
sycl_toolchain_archive : ${{ needs.build-win.outputs.artifact_archive_name }}
118
124
extra_lit_opts : --param gpu-intel-gen12=True
119
- repo_ref : sycl-rel-6_1_0
125
+ repo_ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
120
126
devops_ref : sycl
121
127
122
128
cuda-aws-start :
@@ -126,7 +132,7 @@ jobs:
126
132
secrets : inherit
127
133
with :
128
134
mode : start
129
- ref : sycl-rel-6_1_0
135
+ ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
130
136
131
137
cuda-run-tests :
132
138
needs : [ubuntu2204_build, cuda-aws-start]
@@ -138,7 +144,7 @@ jobs:
138
144
image : ghcr.io/intel/llvm/ubuntu2204_build:latest
139
145
image_options : -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
140
146
target_devices : cuda:gpu
141
- repo_ref : sycl-rel-6_1_0
147
+ repo_ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
142
148
devops_ref : sycl
143
149
144
150
sycl_toolchain_artifact : sycl_linux_default
@@ -152,7 +158,7 @@ jobs:
152
158
secrets : inherit
153
159
with :
154
160
mode : stop
155
- ref : sycl-rel-6_1_0
161
+ ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
156
162
157
163
build-sycl-cts :
158
164
needs : ubuntu2204_build
@@ -164,7 +170,7 @@ jobs:
164
170
cts_testing_mode : ' build-only'
165
171
image_options : -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
166
172
tests_selector : cts
167
- repo_ref : sycl-rel-6_1_0
173
+ repo_ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
168
174
devops_ref : sycl
169
175
tests_ref : ead7474b9cb2189ce48025550912ccad5a72bd30
170
176
sycl_toolchain_artifact : sycl_linux_default
0 commit comments