Skip to content

Commit 2ce2be8

Browse files
dot-asmthomcc
authored andcommitted
Update CUDA toolchain.
1 parent 792c31c commit 2ce2be8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,14 @@ jobs:
9696
runs-on: ubuntu-20.04
9797
steps:
9898
- uses: actions/checkout@master
99-
- name: Install cuda-minimal-build-11-6
99+
- name: Install cuda-minimal-build-11-8
100100
shell: bash
101101
run: |
102102
# https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_network
103-
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
104-
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
105-
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
106-
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
103+
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
104+
sudo dpkg -i cuda-keyring_1.0-1_all.deb
107105
sudo apt-get update
108-
sudo apt-get -y install cuda-minimal-build-11-6
106+
sudo apt-get -y install cuda-minimal-build-11-8
109107
- name: Test 'cudart' feature
110108
shell: bash
111109
run: env PATH=/usr/local/cuda/bin:$PATH cargo test --manifest-path cc-test/Cargo.toml --features test_cuda

0 commit comments

Comments
 (0)