Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fixes to allow installing more cuda versions #116

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,24 @@ on:

jobs:
build:
name: ${{ matrix.os }}, cuda ${{ matrix.cuda }}, python ${{ matrix.python }}, C++${{ matrix.cmake_cxx_standard }}, ${{ matrix.visual_studio }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# `include` will only run specific combinations (not permutations of these)
include:
- os: windows-2019
cuda: "11.3.1"
visual_studio: "Visual Studio 16 2019"
python: "3.9"
- os: windows-2019
cuda: "11.4.0"
visual_studio: "Visual Studio 16 2019"
python: "3.9"
- os: ubuntu-20.04
cuda: "11.3.1"
python: "3.9"
- os: ubuntu-20.04
cuda: "11.4.0"
python: "3.9"
Expand Down Expand Up @@ -46,7 +54,9 @@ jobs:
pip install wheel

- name: Install CUDA (Windows)
uses: Jimver/cuda-toolkit@v0.2.8
# uses: Jimver/cuda-toolkit@v0.2.8
# jimkring's branch adds support for more cuda versions
uses: jimkring/action-install-cuda-toolkit@v0
if: runner.os == 'Windows'
with:
sub-packages: '["nvcc", "visual_studio_integration", "cublas", "curand", "nvrtc", "cudart"]'
Expand All @@ -55,7 +65,9 @@ jobs:
use-github-cache: false

- name: Install CUDA (Linux)
uses: Jimver/cuda-toolkit@v0.2.8
# uses: Jimver/cuda-toolkit@v0.2.8
# jimkring's branch adds support for more cuda versions
uses: jimkring/action-install-cuda-toolkit@v0
if: runner.os == 'Linux'
with:
sub-packages: '["nvcc", "nvrtc", "cudart"]'
Expand Down