Skip to content
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

Enable CI tests for CPU-based SYCL builds #636

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,47 @@ jobs:
container: ghcr.io/acts-project/ubuntu2004:v30
cxx_standard: "17"
options:
run_tests: true
- name: CPU
container: ghcr.io/acts-project/ubuntu2004:v30
cxx_standard: "17"
options: -DTRACCC_USE_ROOT=FALSE
run_tests: true
- name: CPU
container: ghcr.io/acts-project/ubuntu2404:48
cxx_standard: "20"
options: -DTRACCC_USE_ROOT=FALSE -DTRACCC_ENFORCE_CONCEPTS=TRUE
run_tests: true
- name: HIP
container: ghcr.io/acts-project/ubuntu2004_rocm:47
cxx_standard: "17"
options: -DTRACCC_BUILD_HIP=TRUE -DTRACCC_SETUP_ROCTHRUST=TRUE
run_tests: false
- name: CUDA
container: ghcr.io/acts-project/ubuntu2004_cuda:47
cxx_standard: "17"
options: -DTRACCC_BUILD_CUDA=TRUE -DTRACCC_ENABLE_NVTX_PROFILING=TRUE
run_tests: false
- name: CUDA
container: ghcr.io/acts-project/ubuntu2204_cuda:48
cxx_standard: "20"
options: -DTRACCC_BUILD_CUDA=TRUE -DTRACCC_USE_ROOT=FALSE -DTRACCC_ENFORCE_CONCEPTS=TRUE -DCMAKE_CUDA_FLAGS="-std=c++20"
run_tests: false
- name: SYCL
container: ghcr.io/acts-project/ubuntu2004_oneapi:47
cxx_standard: "17"
options: -DTRACCC_BUILD_SYCL=TRUE
run_tests: true
- name: KOKKOS
container: ghcr.io/acts-project/ubuntu2004:v30
cxx_standard: "17"
options: -DTRACCC_BUILD_KOKKOS=TRUE
run_tests: false
- name: ALPAKA
container: ghcr.io/acts-project/ubuntu2204:v33
cxx_standard: "17"
options: -DTRACCC_BUILD_ALPAKA=TRUE
run_tests: false
build:
- Release
- Debug
Expand Down Expand Up @@ -100,10 +109,10 @@ jobs:
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.platform.name }}
cmake --build build
- name: Download data files
if: "matrix.platform.name == 'CPU'"
if: "matrix.platform.run_tests"
run: data/traccc_data_get_files.sh
- name: Test
if: "matrix.platform.name == 'CPU'"
if: "matrix.platform.run_tests"
run: |
cd build
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.platform.name }}
Expand Down
Loading