Skip to content

Commit ac3b423

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

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

ci/matrix.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
cuda_oldest: &cuda_oldest '11.8'
17-
cuda_newest: &cuda_newest '12.3'
16+
cuda-oldest: &cuda-oldest '11.8'
17+
cuda-newest: &cuda-newest '12.3'
18+
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++' }
1824

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
@@ -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)