@@ -2,6 +2,12 @@ name: SYCL Release Branch Nightly
22
33on :
44 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+
511 schedule :
612 - cron : ' 0 3 * * *'
713
2026 steps :
2127 - uses : actions/checkout@v4
2228 with :
23- ref : sycl-rel-6_1_0
29+ ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
2430 - run : git show --quiet | tee -a $GITHUB_STEP_SUMMARY
2531
2632 - id : is_new_commit
4046 build_artifact_suffix : default
4147 build_configure_extra_args : ' --hip --cuda'
4248 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' }}
4450
4551 # We upload the build for people to download/use, override its name and
4652 # prefer widespread gzip compression.
8692 target_devices : ${{ matrix.target_devices }}
8793 tests_selector : ${{ matrix.tests_selector }}
8894 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' }}
9096 devops_ref : sycl
9197 sycl_toolchain_artifact : sycl_linux_default
9298 sycl_toolchain_archive : ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
97103 if : ${{ github.repository == 'intel/llvm' && needs.check_for_new_commits.outputs.is_new_commit != 'false' }}
98104 uses : ./.github/workflows/sycl-windows-build.yml
99105 with :
100- ref : sycl-rel-6_1_0
106+ ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
101107
102108 # We upload both Linux/Windows build via Github's "Releases"
103109 # functionality, make sure Linux/Windows names follow the same pattern.
@@ -116,7 +122,7 @@ jobs:
116122 runner : ' ["Windows","gen12"]'
117123 sycl_toolchain_archive : ${{ needs.build-win.outputs.artifact_archive_name }}
118124 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' }}
120126 devops_ref : sycl
121127
122128 cuda-aws-start :
@@ -126,7 +132,7 @@ jobs:
126132 secrets : inherit
127133 with :
128134 mode : start
129- ref : sycl-rel-6_1_0
135+ ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
130136
131137 cuda-run-tests :
132138 needs : [ubuntu2204_build, cuda-aws-start]
@@ -138,7 +144,7 @@ jobs:
138144 image : ghcr.io/intel/llvm/ubuntu2204_build:latest
139145 image_options : -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
140146 target_devices : cuda:gpu
141- repo_ref : sycl-rel-6_1_0
147+ repo_ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
142148 devops_ref : sycl
143149
144150 sycl_toolchain_artifact : sycl_linux_default
@@ -152,7 +158,7 @@ jobs:
152158 secrets : inherit
153159 with :
154160 mode : stop
155- ref : sycl-rel-6_1_0
161+ ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
156162
157163 build-sycl-cts :
158164 needs : ubuntu2204_build
@@ -164,7 +170,7 @@ jobs:
164170 cts_testing_mode : ' build-only'
165171 image_options : -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
166172 tests_selector : cts
167- repo_ref : sycl-rel-6_1_0
173+ repo_ref : ${{ inputs.testing_branch || ' sycl-rel-6_1_0' }}
168174 devops_ref : sycl
169175 tests_ref : ead7474b9cb2189ce48025550912ccad5a72bd30
170176 sycl_toolchain_artifact : sycl_linux_default
0 commit comments