File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,18 +13,16 @@ sudo apt-get install -y \
1313 pkg-config \
1414 wget
1515
16- sudo wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
17- sudo apt-key add 7fa2af80.pub
18- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC
19- echo " deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /" \
20- | sudo tee /etc/apt/sources.list.d/cuda.list
16+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
17+ sudo dpkg -i cuda-keyring_1.0-1_all.deb
18+ sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
2119
2220sudo apt-get update
2321sudo apt-get install -y \
24- cuda-command-line-tools-11-0 \
25- cuda-compiler-11-0 \
26- cuda-cupti-dev-11-0 \
27- cuda-minimal-build-11-0 \
28- cuda-nvml-dev-11-0
22+ cuda-command-line-tools-11-7 \
23+ cuda-compiler-11-7 \
24+ cuda-cupti-dev-11-7 \
25+ cuda-minimal-build-11-7 \
26+ cuda-nvml-dev-11-7
2927sudo ln -s cuda-11.0 /usr/local/cuda
3028
Original file line number Diff line number Diff line change 99# https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/
1010 build_gcc_nvcc :
1111 name : NVCC 11.0.2 SP [Linux]
12- runs-on : ubuntu-18 .04
12+ runs-on : ubuntu-22 .04
1313 steps :
14- - uses : actions/checkout@v2
15- - name : install dependencies
14+ - name : Checkout repo
15+ uses : actions/checkout@v2
16+ - name : Install dependencies
1617 run : |
1718 .github/workflows/dependencies/nvcc11.sh
18- - name : build
19+ - name : Build
1920 run : |
2021 export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
2122 export LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/cuda/lib64:${LD_LIBRARY_PATH}
You can’t perform that action at this time.
0 commit comments