Skip to content

Commit

Permalink
WIP: Update CI to newer DPC++.
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacault committed Dec 12, 2024
1 parent c64b93d commit bde0016
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/multi_device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ jobs:

- name: Download DPC++
run: |
wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29/sycl_linux.tar.gz
wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-12-12/sycl_linux.tar.gz
mkdir dpcpp_compiler
tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz -C dpcpp_compiler
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/build/lib
- name: Configure CMake
shell: bash -el {0}
Expand All @@ -54,12 +55,12 @@ jobs:
-DUR_SYCL_LIBRARY_DIR=${{github.workspace}}/dpcpp_compiler/lib
- name: Build
run: cmake --build ${{github.workspace}}/build -j $(nproc)
run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/build/lib cmake --build ${{github.workspace}}/build -j $(nproc)

- name: Test adapter specific
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.build_type}} --output-on-failure -L "adapter-specific" --timeout 180
run: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/build/lib ctest -C ${{matrix.build_type}} --output-on-failure -L "adapter-specific" --timeout 180

- name: Test adapters
working-directory: ${{github.workspace}}/build
run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" ctest -C ${{matrix.build_type}} --output-on-failure -L "conformance" -E "exp_command_buffer" --timeout 180
run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{github.workspace}}/build/lib ctest -C ${{matrix.build_type}} --output-on-failure -L "conformance" -E "exp_command_buffer" --timeout 180

0 comments on commit bde0016

Please sign in to comment.