From 0dfea54ff51947271e62bd24725695fe3292f519 Mon Sep 17 00:00:00 2001 From: Konrad Dybcio Date: Thu, 14 Aug 2025 14:35:44 +0200 Subject: [PATCH] github: workflows: Use recent Ubuntu & GCC Newer compiler versions include various improvements, ranging from codegen and support for newer arch extensions to improved warning messages, which help keep the code less buggy. Stop using the six year old GCC 7.5, in favor of using whatever newest revision the distribution decides to ship. Signed-off-by: Konrad Dybcio --- .github/workflows/build_linux_arm64.yml | 13 +++---------- .github/workflows/build_linux_gnu.yml | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_linux_arm64.yml b/.github/workflows/build_linux_arm64.yml index ca590787..a3eb6ab7 100644 --- a/.github/workflows/build_linux_arm64.yml +++ b/.github/workflows/build_linux_arm64.yml @@ -14,26 +14,19 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Git checkout uses: actions/checkout@v4 - - name: Install auto tools + - name: Install build dependencies run: | - sudo apt-get install automake + sudo apt-get install automake g++-aarch64-linux-gnu binutils-aarch64-linux-gnu - - name: Download Linaro tools and untar - run: | - wget -c https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu.tar.xz - tar xf gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu.tar.xz - - name: Set Up Build Environment and compile code for LE platform run: | - # Set Up Build Environment - export PATH="$PWD/gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu/bin/:$PATH" export CC=aarch64-linux-gnu-gcc export CXX=aarch64-linux-gnu-g++ export AS=aarch64-linux-gnu-as diff --git a/.github/workflows/build_linux_gnu.yml b/.github/workflows/build_linux_gnu.yml index 8fb6ffb7..c9e611c0 100644 --- a/.github/workflows/build_linux_gnu.yml +++ b/.github/workflows/build_linux_gnu.yml @@ -14,7 +14,7 @@ on: jobs: build: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - name: Git checkout