diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc489aa6..b95fff96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: run: ./run_tests.sh build_ubuntu_latest_cuda11: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -43,7 +43,7 @@ jobs: run: ./build.sh -r simulator build_ubuntu_latest_cuda12: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -60,3 +60,41 @@ jobs: - name: Build with cuda 12 run: ./build.sh -r simulator + + build_ubuntu_22_04_cuda11: + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v3 + + - name: Build without cuda + run: ./build.sh -r simulator + + - uses: Jimver/cuda-toolkit@v0.2.19 + id: cuda-toolkit + with: + cuda: '11.7.0' + method: 'network' + linux-local-args: '["--toolkit"]' + + - name: Build with cuda 11 + run: ./build.sh -r simulator + + build_ubuntu_22_04_cuda12: + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v3 + + - name: Build without cuda + run: ./build.sh -r simulator + + - uses: Jimver/cuda-toolkit@v0.2.19 + id: cuda-toolkit + with: + cuda: '12.1.0' + method: 'network' + linux-local-args: '["--toolkit"]' + + - name: Build with cuda 12 + run: ./build.sh -r simulator \ No newline at end of file