From c086a51dcb8cabeca6bc642b2dac799bb68affe6 Mon Sep 17 00:00:00 2001 From: Salman Mohammed Date: Thu, 16 Jan 2025 20:11:34 -0500 Subject: [PATCH] Revert "use ubuntu-22.04 instead of ubuntu-latest which run 24.x" This reverts commit 1f6a46a81d40cf187853486aa0b26bc5d54e18ef. --- .github/workflows/release.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cec3324557..49e2ae1dfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,10 +29,10 @@ jobs: strategy: fail-fast: false matrix: - os: [ ubuntu-22.04, macos-latest ] + os: [ ubuntu-latest, macos-latest ] architecture: [ x86_64, aarch64 ] # Intel/AMD64, ARM64 include: - - os: ubuntu-22.04 + - os: ubuntu-latest target-suffix: unknown-linux-gnu - os: macos-latest target-suffix: apple-darwin @@ -49,7 +49,7 @@ jobs: # --- X86_64 only --- - name: Install system libraries on Ubuntu (x86_64) - if: matrix.os == 'ubuntu-22.04' && matrix.architecture == 'x86_64' + if: matrix.os == 'ubuntu-latest' && matrix.architecture == 'x86_64' run: | sudo apt-get update # Add needed libs: openssl, dbus, xcb, etc. @@ -60,25 +60,21 @@ jobs: libxcb1-dev # --- AARCH64 only --- - - name: Enable ARM64 architecture - if: matrix.os == 'ubuntu-22.04' && matrix.architecture == 'aarch64' + - name: Install system libraries on Ubuntu (aarch64) + if: matrix.os == 'ubuntu-latest' && matrix.architecture == 'aarch64' run: | sudo dpkg --add-architecture arm64 sudo apt-get update - - - name: Install system libraries on Ubuntu (aarch64) - if: matrix.os == 'ubuntu-22.04' && matrix.architecture == 'aarch64' - run: | sudo apt-get install -y \ gcc-aarch64-linux-gnu \ libc6-dev-arm64-cross \ libssl-dev:arm64 \ libdbus-1-dev:arm64 \ libxcb1-dev:arm64 \ - pkg-config + pkg-config-aarch64-linux-gnu - name: Configure environment for cross-compilation (aarch64) - if: matrix.os == 'ubuntu-22.04' && matrix.architecture == 'aarch64' + if: matrix.os == 'ubuntu-latest' && matrix.architecture == 'aarch64' run: | echo "PKG_CONFIG=aarch64-linux-gnu-pkg-config" >> $GITHUB_ENV echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV