Skip to content
Merged
23 changes: 12 additions & 11 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux (Ubuntu 20.04, Python 3.11)
name: Linux (Ubuntu 22.04, Python 3.11)
on:
workflow_dispatch:
pull_request:
Expand All @@ -25,9 +25,9 @@ jobs:
defaults:
run:
shell: bash
runs-on: ubuntu-20.04-16-cores
runs-on: ubuntu-22.04-16-cores
container:
image: ubuntu:20.04
image: ubuntu:22.04
env:
DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input
CMAKE_BUILD_TYPE: 'Release'
Expand Down Expand Up @@ -214,9 +214,9 @@ jobs:
defaults:
run:
shell: bash
runs-on: ubuntu-20.04-16-cores
runs-on: ubuntu-22.04-16-cores
container:
image: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu20.04
image: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
env:
CMAKE_BUILD_TYPE: 'Release'
CMAKE_GENERATOR: 'Ninja Multi-Config'
Expand Down Expand Up @@ -298,20 +298,21 @@ jobs:

- name: Install CUDA
run: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600

apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /"
apt update
apt install -y --allow-downgrades --allow-change-held-packages \
linux-headers-5.15.0-25-generic \
libcudnn8=8.9.4.*-1+cuda11.8 \
libcudnn8-dev=8.9.4.*-1+cuda11.8 \
libcudnn8-samples=8.9.4.*-1+cuda11.8 \
cuda-runtime-11-8 \
cuda-11-8 \
libcutensor1=1.6.1.5-1 \
libcutensor-dev=1.6.1.5-1 \
libcutensor1=1.7.0.1-1 \
libcutensor-dev=1.7.0.1-1 \
cuda-drivers=520.61.05-1

#
Expand Down
Loading