Skip to content

Commit

Permalink
Workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GlockPL committed Jun 5, 2024
1 parent 8444cc7 commit 4c49500
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,18 @@ jobs:
os: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
cuda: '12.1'
cuda: '12.1.1'
- os: windows-latest
cuda: '12.1'
cuda: '12.1.1'
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up CUDA
if: matrix.os == 'ubuntu-latest'
run: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2004-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda
shell: bash
Expand All @@ -50,7 +47,7 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: echo "/usr/local/cuda-${{ matrix.cuda }}/bin" >> $GITHUB_PATH
shell: bash

- name: Configure CMake
run: mkdir build && cd build && cmake ..
shell: bash
Expand Down

0 comments on commit 4c49500

Please sign in to comment.