Skip to content

Commit 951781e

Browse files
committed
copy install folder + not specify target device
1 parent fd8857f commit 951781e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/sycl-windows-build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,19 @@ jobs:
215215
Remove-Item -Path "windows_detect_hung_tests.ps1"
216216
exit $exitCode
217217
#############################################################################
218+
- name: Copy toolchain
219+
if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
220+
# We must have the compiler in the same location as it will be in the E2E
221+
# run-tests job.
222+
run: cp -r $GITHUB_WORKSPACE/build/install $GITHUB_WORKSPACE/install
218223
- name: Setup SYCL toolchain
219224
run: |
220225
echo "PATH=$env:GITHUB_WORKSPACE\\install\\bin;$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
221-
- run: |
222-
sycl-ls
223-
- run: |
224-
sycl-ls --verbose
225-
- name: Configure E2E with Level Zero target
226+
- name: Configure E2E
226227
shell: cmd
227228
run: |
228229
mkdir build-e2e
229-
cmake -GNinja -B build-e2e -S.\src\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=".\src\llvm\utils\lit\lit.py"
230+
cmake -GNinja -B build-e2e -S.\src\sycl\test-e2e -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=".\src\llvm\utils\lit\lit.py"
230231
231232
- name: Run End-to-End tests
232233
shell: bash

0 commit comments

Comments
 (0)