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

Add new CI platform for C++20 builds #599

Merged
merged 1 commit into from
Jun 21, 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
28 changes: 27 additions & 1 deletion .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,39 @@ jobs:
platform:
- name: CPU
container: ghcr.io/acts-project/ubuntu2004:v30
cxx_standard: "17"
options:
- name: CPU
container: ghcr.io/acts-project/ubuntu2004:v30
cxx_standard: "17"
options: -DTRACCC_USE_ROOT=FALSE
- name: CPU
container: ghcr.io/acts-project/ubuntu2404:48
cxx_standard: "20"
options: -DTRACCC_USE_ROOT=FALSE
- name: HIP
container: ghcr.io/acts-project/ubuntu2004_rocm:47
cxx_standard: "17"
options: -DTRACCC_BUILD_HIP=TRUE -DTRACCC_SETUP_ROCTHRUST=TRUE
- name: CUDA
container: ghcr.io/acts-project/ubuntu2004_cuda:47
cxx_standard: "17"
options: -DTRACCC_BUILD_CUDA=TRUE -DTRACCC_ENABLE_NVTX_PROFILING=TRUE
- name: CUDA
container: ghcr.io/acts-project/ubuntu2204_cuda:48
cxx_standard: "20"
options: -DTRACCC_BUILD_CUDA=TRUE -DTRACCC_USE_ROOT=FALSE
- name: SYCL
container: ghcr.io/acts-project/ubuntu2004_oneapi:47
cxx_standard: "17"
options: -DTRACCC_BUILD_SYCL=TRUE
- name: KOKKOS
container: ghcr.io/acts-project/ubuntu2004:v30
cxx_standard: "17"
options: -DTRACCC_BUILD_KOKKOS=TRUE
- name: ALPAKA
container: ghcr.io/acts-project/ubuntu2204:v33
cxx_standard: "17"
options: -DTRACCC_BUILD_ALPAKA=TRUE
build:
- Release
Expand All @@ -52,11 +67,13 @@ jobs:
- platform:
name: "SYCL"
container: ghcr.io/acts-project/ubuntu2004_cuda_oneapi:47
cxx_standard: "17"
options: -DTRACCC_BUILD_SYCL=TRUE -DTRACCC_BUILD_CUDA=FALSE -DVECMEM_BUILD_CUDA_LIBRARY=FALSE
build: Release
- platform:
name: "SYCL"
container: ghcr.io/acts-project/ubuntu2004_rocm_oneapi:47
cxx_standard: "17"
options: -DTRACCC_BUILD_SYCL=TRUE -DVECMEM_BUILD_HIP_LIBRARY=FALSE
build: Release
# Use BASH as the shell from the images.
Expand All @@ -70,7 +87,16 @@ jobs:
- name: Configure
run: |
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.platform.name }}
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build }} ${{ matrix.platform.options }} -DTRACCC_FAIL_ON_WARNINGS=TRUE -S ${GITHUB_WORKSPACE} -B build
cmake \
-DCMAKE_BUILD_TYPE=${{ matrix.build }} \
-DCMAKE_CXX_STANDARD=${{ matrix.platform.cxx_standard }} \
-DCMAKE_CUDA_STANDARD=${{ matrix.platform.cxx_standard }} \
-DCMAKE_HIP_STANDARD=${{ matrix.platform.cxx_standard }} \
-DCMAKE_SYCL_STANDARD=${{ matrix.platform.cxx_standard }} \
${{ matrix.platform.options }} \
-DTRACCC_FAIL_ON_WARNINGS=TRUE \
-S ${GITHUB_WORKSPACE} \
-B build
- name: Build
run: |
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.platform.name }}
Expand Down
Loading