Skip to content

Commit 4d50aea

Browse files
authored
[CI] Update sycl-rel-nightly.yml (#16378)
Surprisingly env is not accessible everywhere. Replacing it by hardcoded branch name.
1 parent f15e86b commit 4d50aea

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

.github/workflows/sycl-rel-nightly.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ on:
77

88
permissions: read-all
99

10-
env:
11-
# NOTE: so that GitHub Actions can trigger the scheduled workflow run - the
12-
# workflow file should be on the default branch. Therefore every job should
13-
# checkout the release branch.
14-
SYCL_REL_BRANCH: "draft-sycl-rel-6_0_0"
15-
1610
jobs:
1711
# To avoid unnecessary scheduled runs this job checks if there are new commits
1812
# since the last run. More precisely, it checks if the last commit is older
@@ -25,7 +19,7 @@ jobs:
2519
steps:
2620
- uses: actions/checkout@v4
2721
with:
28-
ref: ${{ env.SYCL_REL_BRANCH }}
22+
ref: draft-sycl-rel-6_0_0
2923
- run: git show --quiet | tee -a $GITHUB_STEP_SUMMARY
3024

3125
- id: is_new_commit
@@ -45,7 +39,7 @@ jobs:
4539
build_artifact_suffix: v6
4640
build_configure_extra_args: '--hip --cuda'
4741
merge_ref: ''
48-
ref: ${{ env.SYCL_REL_BRANCH }}
42+
ref: draft-sycl-rel-6_0_0
4943

5044
# We upload the build for people to download/use, override its name and
5145
# prefer widespread gzip compression.
@@ -113,7 +107,7 @@ jobs:
113107
tests_selector: ${{ matrix.tests_selector }}
114108
extra_lit_opts: ${{ matrix.extra_lit_opts }}
115109
reset_intel_gpu: ${{ matrix.reset_intel_gpu }}
116-
ref: ${{ env.SYCL_REL_BRANCH }}
110+
ref: draft-sycl-rel-6_0_0
117111
merge_ref: ''
118112
sycl_toolchain_artifact: sycl_linux_default
119113
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
@@ -127,7 +121,7 @@ jobs:
127121
# We upload both Linux/Windows build via Github's "Releases"
128122
# functionality, make sure Linux/Windows names follow the same pattern.
129123
artifact_archive_name: sycl_windows.tar.gz
130-
build_ref: ${{ env.SYCL_REL_BRANCH }}
124+
build_ref: draft-sycl-rel-6_0_0
131125

132126
e2e-win:
133127
needs: build-win
@@ -142,7 +136,7 @@ jobs:
142136
runner: '["Windows","gen12"]'
143137
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
144138
extra_lit_opts: --param gpu-intel-gen12=True
145-
ref: ${{ env.SYCL_REL_BRANCH }}
139+
ref: draft-sycl-rel-6_0_0
146140

147141
cuda-aws-start:
148142
needs: [ubuntu2204_build]
@@ -151,7 +145,7 @@ jobs:
151145
secrets: inherit
152146
with:
153147
mode: start
154-
ref: ${{ env.SYCL_REL_BRANCH }}
148+
ref: draft-sycl-rel-6_0_0
155149

156150
cuda-run-tests:
157151
needs: [ubuntu2204_build, cuda-aws-start]
@@ -163,7 +157,7 @@ jobs:
163157
image: ghcr.io/intel/llvm/ubuntu2204_build:latest-0300ac924620a51f76c4929794637b82790f12ab
164158
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
165159
target_devices: ext_oneapi_cuda:gpu
166-
ref: ${{ env.SYCL_REL_BRANCH }}
160+
ref: draft-sycl-rel-6_0_0
167161
merge_ref: ''
168162

169163
sycl_toolchain_artifact: sycl_linux_default
@@ -177,4 +171,4 @@ jobs:
177171
secrets: inherit
178172
with:
179173
mode: stop
180-
ref: ${{ env.SYCL_REL_BRANCH }}
174+
ref: draft-sycl-rel-6_0_0

0 commit comments

Comments
 (0)