Skip to content

Commit 1fdf3dc

Browse files
committed
update ubuntu and cmake
1 parent 310b0c1 commit 1fdf3dc

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/precompiled_nif.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ jobs:
7979
files: |
8080
./*.tar.gz
8181
precompile_nif_linux_x86_64:
82-
runs-on: ubuntu-20.04
82+
runs-on: ubuntu-22.04
8383
env:
8484
MIX_ENV: prod
8585
NX_IREE_PREFER_PRECOMPILED: false
8686
NX_IREE_SOURCE_DIR: ./build-cache/iree
8787
IREE_GIT_REV: candidate-20240604.914
88-
ImageOS: ubuntu20
88+
ImageOS: ubuntu22
8989
LANG: en_US.UTF-8
9090
LANGUAGE: en_US:en
9191
LC_ALL: en_US.UTF-8
@@ -95,7 +95,7 @@ jobs:
9595
matrix:
9696
nif_version: [2.16, 2.17]
9797
include:
98-
- container: "nvidia/cuda:12.5.0-devel-ubuntu20.04"
98+
- container: "nvidia/cuda:12.5.0-devel-ubuntu22.04"
9999
cuda_version: "12.5.0"
100100
cuda_id: "12"
101101
cudnn_id: "8"
@@ -106,7 +106,12 @@ jobs:
106106
run: |
107107
apt-get update
108108
apt-get install -y build-essential automake autoconf pkg-config bc curl git libssl-dev gzip python3 ca-certificates \
109-
locales curl wget cmake zip unzip
109+
locales curl wget zip unzip
110+
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
111+
sudo apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main"
112+
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6AF7F09730B3F0A4
113+
sudo apt update
114+
sudo apt install -y cmake
110115
echo "${LANG} UTF-8" >> /etc/locale.gen
111116
locale-gen
112117
update-locale LANG=${LANG}

0 commit comments

Comments
 (0)