Skip to content

Commit

Permalink
Added cudart to sub cuda packages in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tmrlvi committed Feb 25, 2022
1 parent 5299ad9 commit b8739da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
cuda: '11.2.2'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Cache
uses: actions/cache@v2
Expand Down Expand Up @@ -76,15 +76,15 @@ jobs:
with:
cuda: '11.2.2'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Install CUDA Windows
if: runner.os == 'Windows'
uses: Jimver/cuda-toolkit@v0.2.5
with:
cuda: '11.5.1'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Cache
uses: actions/cache@v2
Expand Down Expand Up @@ -163,15 +163,15 @@ jobs:
with:
cuda: '11.2.2'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Install CUDA Windows
if: runner.os == 'Windows'
uses: Jimver/cuda-toolkit@v0.2.5
with:
cuda: '11.5.1'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Cache
uses: actions/cache@v2
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
with:
cuda: '11.2.2'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Cache
uses: actions/cache@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
with:
cuda: '11.2.2'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Install CUDA Windows
if: runner.os == 'Windows'
uses: Jimver/cuda-toolkit@v0.2.5
with:
cuda: '11.5.1'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Build on Linux GNU
if: matrix.os == 'ubuntu-18.04'
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
with:
cuda: '11.2.2'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '["nvcc", "cudart"]'

- name: Build ${{ matrix.itegration }} Script
run: |
Expand Down

0 comments on commit b8739da

Please sign in to comment.