Skip to content

Commit 5a5b5b9

Browse files
[CI] Split E2E steps into two
GITHUB env vars are set only from the next step up, not right away.
1 parent a2d23dc commit 5a5b5b9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/e2e_nightly.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,14 @@ jobs:
9494
cp ${{github.workspace}}/ur-repo/build/lib/libur_loader.so* ${{github.workspace}}/sycl_build/lib/
9595
cp ${{github.workspace}}/ur-repo/build/lib/libur_adapter_cuda.so* ${{github.workspace}}/sycl_build/lib/
9696
97-
- name: Setup SYCL
97+
- name: Set additional env. vars
9898
run: |
9999
echo "${{github.workspace}}/sycl_build/bin" >> $GITHUB_PATH
100100
echo "LD_LIBRARY_PATH=${{github.workspace}}/sycl_build/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
101+
102+
# Running (newly built) sycl-ls sets up some extra variables
103+
- name: Setup SYCL variables
104+
run: |
101105
which clang++ sycl-ls
102106
SYCL_PI_TRACE=-1 sycl-ls
103107

0 commit comments

Comments
 (0)