File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
devops/actions/llvm_test_suite Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 28
28
steps :
29
29
- run : |
30
30
cp -r /actions .
31
- git config --global --add safe.directory /__w/repo_cache/intel/llvm-test-suite
32
31
shell: bash
33
- - name : Checkout LLVM Test Suite
34
- uses : ./actions/cached_checkout
35
- with :
36
- path : llvm_test_suite
37
- repository : ' intel/llvm-test-suite'
38
- ref : ${{ inputs.test_ref }}
39
- default_branch : ' intel'
40
- cache_path : " /__w/repo_cache/"
41
32
- name : Download compiler toolchain
42
33
uses : actions/download-artifact@v3
43
34
with :
55
46
export PATH=$PWD/toolchain/bin/:$PATH
56
47
# TODO: Rename check_sycl_all input
57
48
cmake -GNinja -B./build-e2e -S./llvm/sycl/test-e2e -DSYCL_TEST_E2E_TARGETS="${{ inputs.check_sycl_all }}" -DCMAKE_CXX_COMPILER="$PWD/toolchain/bin/clang++" -DLLVM_LIT="$PWD/llvm/llvm/utils/lit/lit.py" ${{ inputs.cmake_args }}
58
- cmake -GNinja -B./build -S./llvm_test_suite -DTEST_SUITE_SUBDIRS=SYCL -DCHECK_SYCL_ALL="${{ inputs.check_sycl_all }}" -DCMAKE_CXX_COMPILER="$PWD/toolchain/bin/clang++" -DTEST_SUITE_LIT="$PWD/llvm/llvm/utils/lit/lit.py" ${{ inputs.cmake_args }}
59
49
echo "::endgroup::"
60
50
- name : Run testing
61
51
shell : bash
85
75
echo $LD_LIBRARY_PATH
86
76
SYCL_PI_TRACE=-1 sycl-ls
87
77
echo "::endgroup::"
88
- echo "::group::SYCL In-Tree End-to-End tests"
89
78
ninja -C build-e2e check-sycl-e2e
90
- echo "::endgroup::"
91
- ninja -C build check-sycl-all
92
79
- name : Upload test results
93
80
uses : actions/upload-artifact@v1
94
81
if : always()
100
87
if : always()
101
88
run : |
102
89
rm -rf toolchain
103
- rm -rf build
104
90
rm -rf build-e2e
105
- rm -rf llvm_test_suite
You can’t perform that action at this time.
0 commit comments