Skip to content

Commit

Permalink
Add llvm config in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeepyjack committed Dec 20, 2023
1 parent 8c9798b commit 5cf3d41
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions ci/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
cuda_oldest: &cuda_oldest '11.8'
cuda_newest: &cuda_newest '12.3'

gcc-oldest: &gcc-oldest { name: 'gcc', version: '11', exe: 'g++' }
gcc-newest: &gcc-newest { name: 'gcc', version: '12', exe: 'g++' }

llvm-oldest: &llvm-oldest { name: 'llvm', version: '15', exe: 'clang++' }
llvm-newest: &llvm-newest { name: 'llvm', version: '16', exe: 'clang++' }

# The GPUs to test on
# Note: This assumes that the appropriate gpu_build_archs are set to include building for the GPUs listed here
gpus:
Expand All @@ -42,6 +48,9 @@ devcontainer_version: '23.12'
# Configurations that will run for every PR
pull_request:
nvcc:
- {cuda: *cuda_oldest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '11', exe: 'g++'}, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'arm64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '60,90', std: [17], jobs: ['build']}
- {cuda: *cuda_oldest, os: 'ubuntu22.04', cpu: 'amd64', compiler: *gcc_oldest, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: *gcc_newest, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'arm64', compiler: *gcc_newest, gpu_build_archs: '60,90', std: [17], jobs: ['build']}

clang-cuda:
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: *llvm-newest, gpu_build_archs: '60,90', std: [17], jobs: ['build']}

0 comments on commit 5cf3d41

Please sign in to comment.