Skip to content

Commit 5cf3d41

Browse files
committed
Add llvm config in CI
1 parent 8c9798b commit 5cf3d41

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

ci/matrix.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
cuda_oldest: &cuda_oldest '11.8'
1717
cuda_newest: &cuda_newest '12.3'
1818

19+
gcc-oldest: &gcc-oldest { name: 'gcc', version: '11', exe: 'g++' }
20+
gcc-newest: &gcc-newest { name: 'gcc', version: '12', exe: 'g++' }
21+
22+
llvm-oldest: &llvm-oldest { name: 'llvm', version: '15', exe: 'clang++' }
23+
llvm-newest: &llvm-newest { name: 'llvm', version: '16', exe: 'clang++' }
24+
1925
# The GPUs to test on
2026
# Note: This assumes that the appropriate gpu_build_archs are set to include building for the GPUs listed here
2127
gpus:
@@ -42,6 +48,9 @@ devcontainer_version: '23.12'
4248
# Configurations that will run for every PR
4349
pull_request:
4450
nvcc:
45-
- {cuda: *cuda_oldest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '11', exe: 'g++'}, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
46-
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
47-
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'arm64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '60,90', std: [17], jobs: ['build']}
51+
- {cuda: *cuda_oldest, os: 'ubuntu22.04', cpu: 'amd64', compiler: *gcc_oldest, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
52+
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: *gcc_newest, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
53+
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'arm64', compiler: *gcc_newest, gpu_build_archs: '60,90', std: [17], jobs: ['build']}
54+
55+
clang-cuda:
56+
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: *llvm-newest, gpu_build_archs: '60,90', std: [17], jobs: ['build']}

0 commit comments

Comments
 (0)