Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
bump the highest CUDA version in CI to 12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
robik75 committed Apr 3, 2024
1 parent 11f4a68 commit b0087a8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: Boojum CUDA build and test

on:
pull_request:
branches: [main]
branches: [ main ]
push:
branches: [main]
branches: [ main ]

jobs:
boojum-build:
runs-on: [ubuntu-latest]
runs-on: [ ubuntu-latest ]
strategy:
matrix:
cuda: ["12.2.0-devel-ubuntu20.04", "12.0.0-devel-ubuntu20.04"]
cuda: [ "12.4.0-devel-ubuntu20.04", "12.0.0-devel-ubuntu20.04" ]
container:
image: nvidia/cuda:${{ matrix.cuda }}
steps:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
if-no-files-found: error

boojum-test:
runs-on: [matterlabs-ci-gpu-runner]
runs-on: [ matterlabs-ci-gpu-runner ]
needs: boojum-build
steps:
- name: Prepare environment
Expand All @@ -82,29 +82,29 @@ jobs:
run: |
nvidia-smi
- name: Download test binaries built with CUDA 12.2
- name: Download test binaries built with CUDA 12.4
uses: actions/download-artifact@v3
with:
name: boojum-cuda-12.2.0-devel-ubuntu20.04-test-binaries
path: boojum-cuda-test-binaries/12.2
name: boojum-cuda-12.4.0-devel-ubuntu20.04-test-binaries
path: boojum-cuda-test-binaries/12.4

- name: Download test binaries built with CUDA 12.0
uses: actions/download-artifact@v3
with:
name: boojum-cuda-12.0.0-devel-ubuntu20.04-test-binaries
path: boojum-cuda-test-binaries/12.0

- name: Run test binaries built with CUDA 12.2
id: test_cuda_12_2
- name: Run test binaries built with CUDA 12.4
id: test_cuda_12_4
continue-on-error: true
run: |
for binary in boojum-cuda-test-binaries/12.2/*; do
for binary in boojum-cuda-test-binaries/12.4/*; do
chmod +x $binary
$binary
done
- name: Run test binaries built with CUDA 12.0
if: steps.test_cuda_12_2.outcome == 'failure' || steps.test_cuda_12_2.outcome == 'success'
if: steps.test_cuda_12_4.outcome == 'failure' || steps.test_cuda_12_4.outcome == 'success'
run: |
for binary in boojum-cuda-test-binaries/12.0/*; do
chmod +x $binary
Expand Down

0 comments on commit b0087a8

Please sign in to comment.