From: Martin Storsjö Date: Tue, 10 Jun 2025 10:40:32 +0000 (+0300) Subject: ci: Run build_and_test on Linux on ARM too X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd282820b12f088c28431af83990c376ed3f11e7;p=thirdparty%2Fccache.git ci: Run build_and_test on Linux on ARM too --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b0dfe02a..37ae9065 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,6 +46,10 @@ jobs: compiler: clang version: "15" + - os: ubuntu-22.04-arm + compiler: gcc + version: "11" + - os: ubuntu-24.04 compiler: gcc version: "13" @@ -66,6 +70,10 @@ jobs: compiler: clang version: "18" + - os: ubuntu-24.04-arm + compiler: gcc + version: "13" + - os: macOS-13 compiler: xcode version: "15.0.1" @@ -108,7 +116,11 @@ jobs: echo "CC=gcc-${{ matrix.version }}" >> $GITHUB_ENV echo "CXX=g++-${{ matrix.version }}" >> $GITHUB_ENV - sudo apt-get install -y g++-${{ matrix.version }} g++-${{ matrix.version }}-multilib + sudo apt-get install -y g++-${{ matrix.version }} + if [ "${{ !endsWith(matrix.os, '-arm') }}" = "true" ]; then + # The -multilib packages are only available on x86. + sudo apt-get install -y g++-${{ matrix.version }}-multilib + fi if [ "${{ matrix.version }}" = 8 ]; then # The compilation test in StdFilesystem.cmake doesn't work when # GCC 9 is installed as well, so need to force linking with