@@ -26,24 +26,39 @@ jobs:
26
26
platform :
27
27
- name : CPU
28
28
container : ghcr.io/acts-project/ubuntu2004:v30
29
+ cxx_standard : " 17"
29
30
options :
30
31
- name : CPU
31
32
container : ghcr.io/acts-project/ubuntu2004:v30
33
+ cxx_standard : " 17"
34
+ options : -DTRACCC_USE_ROOT=FALSE
35
+ - name : CPU
36
+ container : ghcr.io/acts-project/ubuntu2404:48
37
+ cxx_standard : " 20"
32
38
options : -DTRACCC_USE_ROOT=FALSE
33
39
- name : HIP
34
40
container : ghcr.io/acts-project/ubuntu2004_rocm:47
41
+ cxx_standard : " 17"
35
42
options : -DTRACCC_BUILD_HIP=TRUE -DTRACCC_SETUP_ROCTHRUST=TRUE
36
43
- name : CUDA
37
44
container : ghcr.io/acts-project/ubuntu2004_cuda:47
45
+ cxx_standard : " 17"
38
46
options : -DTRACCC_BUILD_CUDA=TRUE -DTRACCC_ENABLE_NVTX_PROFILING=TRUE
47
+ - name : CUDA
48
+ container : ghcr.io/acts-project/ubuntu2204_cuda:48
49
+ cxx_standard : " 20"
50
+ options : -DTRACCC_BUILD_CUDA=TRUE -DTRACCC_USE_ROOT=FALSE
39
51
- name : SYCL
40
52
container : ghcr.io/acts-project/ubuntu2004_oneapi:47
53
+ cxx_standard : " 17"
41
54
options : -DTRACCC_BUILD_SYCL=TRUE
42
55
- name : KOKKOS
43
56
container : ghcr.io/acts-project/ubuntu2004:v30
57
+ cxx_standard : " 17"
44
58
options : -DTRACCC_BUILD_KOKKOS=TRUE
45
59
- name : ALPAKA
46
60
container : ghcr.io/acts-project/ubuntu2204:v33
61
+ cxx_standard : " 17"
47
62
options : -DTRACCC_BUILD_ALPAKA=TRUE
48
63
build :
49
64
- Release
@@ -52,11 +67,13 @@ jobs:
52
67
- platform :
53
68
name : " SYCL"
54
69
container : ghcr.io/acts-project/ubuntu2004_cuda_oneapi:47
70
+ cxx_standard : " 17"
55
71
options : -DTRACCC_BUILD_SYCL=TRUE -DTRACCC_BUILD_CUDA=FALSE -DVECMEM_BUILD_CUDA_LIBRARY=FALSE
56
72
build : Release
57
73
- platform :
58
74
name : " SYCL"
59
75
container : ghcr.io/acts-project/ubuntu2004_rocm_oneapi:47
76
+ cxx_standard : " 17"
60
77
options : -DTRACCC_BUILD_SYCL=TRUE -DVECMEM_BUILD_HIP_LIBRARY=FALSE
61
78
build : Release
62
79
# Use BASH as the shell from the images.
70
87
- name : Configure
71
88
run : |
72
89
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.platform.name }}
73
- cmake -DCMAKE_BUILD_TYPE=${{ matrix.build }} ${{ matrix.platform.options }} -DTRACCC_FAIL_ON_WARNINGS=TRUE -S ${GITHUB_WORKSPACE} -B build
90
+ cmake \
91
+ -DCMAKE_BUILD_TYPE=${{ matrix.build }} \
92
+ -DCMAKE_CXX_STANDARD=${{ matrix.platform.cxx_standard }} \
93
+ -DCMAKE_CUDA_STANDARD=${{ matrix.platform.cxx_standard }} \
94
+ -DCMAKE_HIP_STANDARD=${{ matrix.platform.cxx_standard }} \
95
+ -DCMAKE_SYCL_STANDARD=${{ matrix.platform.cxx_standard }} \
96
+ ${{ matrix.platform.options }} \
97
+ -DTRACCC_FAIL_ON_WARNINGS=TRUE \
98
+ -S ${GITHUB_WORKSPACE} \
99
+ -B build
74
100
- name : Build
75
101
run : |
76
102
source ${GITHUB_WORKSPACE}/.github/ci_setup.sh ${{ matrix.platform.name }}
0 commit comments