From 10a7c51618f3d2ca518de01f2e642365af5f2395 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 14 Jun 2024 13:26:33 -0700 Subject: [PATCH] Switch CI to Ubuntu 24.04 This version already has some of the necessary upgraded packages we used to have to install manually. --- .github/workflows/ci.yml | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4a88a2..cc2d00d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,8 @@ on: - master jobs: - build-22_04: - runs-on: ubuntu-22.04 + build-24_04: + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: 'Install deps' @@ -31,7 +31,6 @@ jobs: cpio dar exif - exiftool ffmpeg file flac @@ -40,12 +39,13 @@ jobs: gettext gifsicle gimp - openjdk-18-jdk-headless + openjdk-21-jdk-headless jq lhasa liballegro4-dev libavifile-0.7-bin libid3-tools + libimage-exiftool-perl libjpeg-turbo-progs libtiff-tools lzop @@ -65,7 +65,9 @@ jobs: quicktime-utils rar rpm + rust-coreutils squashfs-tools + unrar unzip vorbis-tools wireshark-common @@ -73,29 +75,14 @@ jobs: zpaq make curl ca-certificates groff-base man2html-base bash busybox ksh toybox mmv yash zsh - name: 'Install extras' - # A few packages need newer versions to work properly, so install them - # separately. + # One package is no longer available in Ubuntu and must be installed manually run: | curl -LsSf --retry 6 --retry-connrefused --max-time 999 --remote-name-all \ - http://azure.archive.ubuntu.com/ubuntu/pool/universe/l/lhasa/lhasa_0.4.0-1_amd64.deb \ - http://azure.archive.ubuntu.com/ubuntu/pool/universe/l/lhasa/liblhasa0_0.4.0-1_amd64.deb \ - http://azure.archive.ubuntu.com/ubuntu/pool/universe/p/pngtools/pngtools_0.5~git20220314.1ccca3a-2ubuntu1_amd64.deb \ - http://azure.archive.ubuntu.com/ubuntu/pool/universe/n/netpbm-free/netpbm_11.01.00-2build1_amd64.deb \ - http://azure.archive.ubuntu.com/ubuntu/pool/universe/n/netpbm-free/libnetpbm11_11.01.00-2build1_amd64.deb \ - http://azure.archive.ubuntu.com/ubuntu/pool/universe/r/rust-coreutils/rust-coreutils_0.0.20-1_amd64.deb \ http://azure.archive.ubuntu.com/ubuntu/pool/universe/z/zoo/zoo_2.10-28_amd64.deb sha256sum -c <