Skip to content

Commit 345628a

Browse files
Merge pull request #46 from yetanother-user/dev
CI: fix "no enabled runners online to process the request"
2 parents b13f189 + e99d321 commit 345628a

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

.github/workflows/dependencies/nvcc11.sh

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff 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

2220
sudo apt-get update
2321
sudo 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
2927
sudo ln -s cuda-11.0 /usr/local/cuda
3028

.github/workflows/ubuntu.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ jobs:
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}

0 commit comments

Comments
 (0)