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

Commit

Permalink
Add CUDA matrix strategy and CUDA toolkit setup
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Mar 20, 2024
1 parent 716e53f commit a39eb4c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ jobs:
name: Build for Windows 🪟
runs-on: windows-2022
needs: check-event
strategy:
matrix:
cuda: [ 'cpu', '12.2.0', '11.8.0' ]
defaults:
run:
shell: pwsh
Expand All @@ -228,6 +231,14 @@ jobs:
submodules: recursive
fetch-depth: 0

- uses: Jimver/[email protected]
if: matrix.cuda != 'cpu'
id: cuda-toolkit
with:
cuda: ${{ matrix.cuda }}
sub-packages: '["nvcc", "libcublas"]'
method: 'network'

- name: Set Up Environment 🔧
id: setup
run: |
Expand Down

0 comments on commit a39eb4c

Please sign in to comment.