From 863a80df43eb1d9a30c79395a4a5c57971430f20 Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Mon, 22 Dec 2025 23:23:35 +0800 Subject: [PATCH] ci: update Ubuntu version to 24.04 and adjust dependencies in autobuild workflow --- .github/workflows/autobuild.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index aa983dc65..11701e227 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -137,7 +137,7 @@ jobs: target: aarch64-apple-darwin - os: macos-latest target: x86_64-apple-darwin - - os: ubuntu-22.04 + - os: ubuntu-24.04 target: x86_64-unknown-linux-gnu runs-on: ${{ matrix.os }} steps: @@ -165,10 +165,19 @@ jobs: cache-workspace-crates: true - name: Install dependencies (ubuntu only) - if: matrix.os == 'ubuntu-22.04' + if: matrix.os == 'ubuntu-24.04' run: | sudo apt-get update - sudo apt-get install -y libxslt1.1 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf + sudo apt install \ + libwebkit2gtk-4.1-dev \ + build-essential \ + curl \ + wget \ + file \ + libxdo-dev \ + libssl-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev - name: Install x86 OpenSSL (macOS only) if: matrix.target == 'x86_64-apple-darwin' @@ -244,10 +253,10 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-22.04 + - os: ubuntu-24.04 target: aarch64-unknown-linux-gnu arch: arm64 - - os: ubuntu-22.04 + - os: ubuntu-24.04 target: armv7-unknown-linux-gnueabihf arch: armhf runs-on: ${{ matrix.os }}