Skip to content

Commit 6db4210

Browse files
committed
[CI] Ensure old temp dirs do not exist
Install dir can exist if old "SYCL Pre Commit on Windows / e2e" job has not finished cleanly. Removing it to be sure also on job start.
1 parent 64a9deb commit 6db4210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sycl-windows-run-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
- name: Extract SYCL toolchain
6666
shell: bash
6767
run: |
68+
rm -rf install
6869
mkdir install
6970
tar -xf ${{ inputs.sycl_toolchain_archive }} -C install
7071
rm ${{ inputs.sycl_toolchain_archive }}
@@ -78,6 +79,7 @@ jobs:
7879
- name: Configure E2E with Level Zero target
7980
shell: cmd
8081
run: |
82+
rmdir /q /s build-e2e
8183
mkdir build-e2e
8284
cmake -GNinja -B build-e2e -S.\llvm\sycl\test-e2e -DSYCL_TEST_E2E_TARGETS="level_zero:gpu" -DCMAKE_CXX_COMPILER="clang++" -DLEVEL_ZERO_LIBS_DIR="D:\github\level-zero_win-sdk\lib" -DLEVEL_ZERO_INCLUDE="D:\github\level-zero_win-sdk\include" -DLLVM_LIT="..\llvm\llvm\utils\lit\lit.py"
8385
- name: Run End-to-End tests

0 commit comments

Comments
 (0)