Skip to content

Commit af7a0da

Browse files
committed
Updated config.yml
1 parent e181722 commit af7a0da

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.circleci/config.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,28 @@ commands:
3333
default: "cuda-toolkit-11-4"
3434
steps:
3535
- run:
36-
name: Install CUDA
36+
name: Download CUDA repo certs
3737
command: |
3838
cd ~
3939
4040
wget https://developer.download.nvidia.com/compute/cuda/repos/<< parameters.os >>/<< parameters.platform >>/cuda-<< parameters.os >>.pin
4141
sudo mv cuda-<< parameters.os >>.pin /etc/apt/preferences.d/cuda-repository-pin-600
4242
43+
- run:
44+
name: Fetch CUDA keys
45+
command: |
46+
4347
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/<< parameters.os >>/<< parameters.platform >>/3bf863cc.pub
48+
49+
- run:
50+
name: Fetch CUDA packages
51+
command: |
4452
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/<< parameters.os >>/<< parameters.platform >>/ /"
4553
sudo apt-get update
4654
55+
- run:
56+
name: Install CUDA
57+
command: |
4758
sudo apt-get install -y << parameters.cuda-pkg-name >>
4859
4960
create-env:

0 commit comments

Comments
 (0)