-
Notifications
You must be signed in to change notification settings - Fork 787
[CI] Enable SYCL End-to-End tests on Windows for post-commit #8656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
dd9e999
3ed77a7
9f48844
dfc8027
e327d28
22b0672
445f5c6
2d2fe78
a5d8b9e
0ea4535
ccbc882
f06eaef
a7b995d
592db5e
313dd6c
8c65e5f
dfe3c53
2cc579c
585e108
b516086
85b569f
4a43fbd
c587506
dc4d5e9
46f484d
77ed608
8aee683
5c04e14
68015f0
8a04329
2d71439
bfd5d7b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: 'Run SYCL End-to-End testing' | ||
description: 'Run SYCL End-to-End testing' | ||
inputs: | ||
sycl_artifact: | ||
description: 'Name of the artifact, that contains compiler toolchain' | ||
required: true | ||
targets: | ||
description: 'List of SYCL backends with set of target devices per each to be tested iteratively' | ||
required: true | ||
cmake_args: | ||
description: 'Extra arguments to cmake command' | ||
required: false | ||
|
||
post-if: false | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Download compiler toolchain | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ inputs.sycl_artifact }} | ||
- name: Extract SYCL toolchain | ||
shell: bash | ||
run: | | ||
mkdir install | ||
tar -xf llvm_sycl.tar.gz -C install | ||
rm llvm_sycl.tar.gz | ||
- name: Configure | ||
shell: cmd | ||
run: | | ||
mkdir build-e2e | ||
set PATH=%GITHUB_WORKSPACE%\install\bin;%PATH% | ||
cmake -GNinja -B build-e2e -S.\llvm\sycl\test-e2e -DSYCL_TEST_E2E_TARGETS="${{ inputs.targets }}" -DCMAKE_CXX_COMPILER="clang++" -DLLVM_LIT="..\llvm\llvm\utils\lit\lit.py" ${{ inputs.cmake_args }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure if we want There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Previously, I did try experimenting with clang-cl instead of clang++. However, I got a lot of compiler errors. My understanding is that, with Git's Bash, clang++ works fine. However, with U4Win Bash, I had to use |
||
- name: Run testing | ||
shell: bash | ||
run: | | ||
# Run E2E tests. | ||
export LIT_OPTS="-v --no-progress-bar --show-unsupported --max-time 3600 --time-tests" | ||
cmake --build build-e2e --target check-sycl-e2e | ||
- name: Cleanup | ||
shell: cmd | ||
if: always() | ||
run: | | ||
rmdir /q /s install | ||
rmdir /q /s build-e2e |
Uh oh!
There was an error while loading. Please reload this page.