File tree Expand file tree Collapse file tree
devops/actions/llvm_test_suite Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 steps :
2929 - run : |
3030 cp -r /actions .
31- git config --global --add safe.directory /__w/repo_cache/intel/llvm-test-suite
3231 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/"
4132 - name : Download compiler toolchain
4233 uses : actions/download-artifact@v3
4334 with :
5546 export PATH=$PWD/toolchain/bin/:$PATH
5647 # TODO: Rename check_sycl_all input
5748 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 }}
5949 echo "::endgroup::"
6050 - name : Run testing
6151 shell : bash
8575 echo $LD_LIBRARY_PATH
8676 SYCL_PI_TRACE=-1 sycl-ls
8777 echo "::endgroup::"
88- echo "::group::SYCL In-Tree End-to-End tests"
8978 ninja -C build-e2e check-sycl-e2e
90- echo "::endgroup::"
91- ninja -C build check-sycl-all
9279 - name : Upload test results
9380 uses : actions/upload-artifact@v1
9481 if : always()
10087 if : always()
10188 run : |
10289 rm -rf toolchain
103- rm -rf build
10490 rm -rf build-e2e
105- rm -rf llvm_test_suite
You can’t perform that action at this time.
0 commit comments