File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -200,3 +200,38 @@ jobs:
200200 $exitCode = $LASTEXITCODE
201201 Remove-Item -Path "windows_detect_hung_tests.ps1"
202202 exit $exitCode
203+ # ############################################################################
204+ - name : Setup SYCL toolchain
205+ run : |
206+ echo "PATH=$env:GITHUB_WORKSPACE\\install\\bin;$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
207+ - run : |
208+ sycl-ls
209+ - run : |
210+ sycl-ls --verbose
211+ - name : Configure E2E with Level Zero target
212+ shell : cmd
213+ run : |
214+ mkdir build-e2e
215+ 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"
216+ - name : Run End-to-End tests
217+ shell : bash
218+ run : |
219+ # Run E2E tests.
220+ export LIT_OPTS="-v --no-progress-bar --show-unsupported --show-pass --show-xfail --max-time 3600 --time-tests --param test-mode=build-only"
221+ cmake --build build-e2e --target check-sycl-e2e
222+ - name : Detect hung tests
223+ if : always()
224+ shell : powershell
225+ run : |
226+ Invoke-WebRequest -Uri "https://raw.githubusercontent.com/intel/llvm/refs/heads/sycl/devops/scripts/windows_detect_hung_tests.ps1" -OutFile "windows_detect_hung_tests.ps1"
227+ powershell.exe -File windows_detect_hung_tests.ps1
228+ $exitCode = $LASTEXITCODE
229+ Remove-Item -Path "windows_detect_hung_tests.ps1"
230+ exit $exitCode
231+ - name : Cleanup
232+ shell : cmd
233+ if : always()
234+ run : |
235+ rmdir /q /s install
236+ rmdir /q /s build-e2e
237+ # ############################################################################
You can’t perform that action at this time.
0 commit comments