From 4e8372ef41a8e364348356b38710fdcda3fd1b5c Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Thu, 13 Feb 2025 21:47:55 +0000 Subject: [PATCH] Update Ubuntu versions used by CI - bump our oldest builder from Ubuntu 20.04 to 22.04 due to Github phasing-out of 20.04: https://github.com/actions/runner-images/issues/ 11101 - use gcc-10 on ubuntu 22.04 (oldest available) - explicitly use 24.04 image instead of latest, in line with other jobs. --- .github/workflows/github.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml index 63cbd0220..adfe45b38 100644 --- a/.github/workflows/github.yml +++ b/.github/workflows/github.yml @@ -29,7 +29,7 @@ jobs: before_install: linux_qt5.sh preset: linux-gcc-test - platform: linux - os: ubuntu-20.04 + os: ubuntu-22.04 test: 0 before_install: linux_qt5.sh preset: linux-gcc-debug @@ -246,6 +246,9 @@ jobs: if [[ ${{matrix.preset}} == linux-gcc-test ]] then cmake -DENABLE_CCACHE:BOOL=ON -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 --preset ${{ matrix.preset }} + elif [[ ${{matrix.preset}} == linux-gcc-debug ]] + then + cmake -DENABLE_CCACHE:BOOL=ON -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 --preset ${{ matrix.preset }} elif [[ (${{matrix.preset}} == android-conan-ninja-release) && (${{github.ref}} != 'refs/heads/master') ]] then cmake -DENABLE_CCACHE:BOOL=ON -DANDROID_GRADLE_PROPERTIES="applicationIdSuffix=.daily;signingConfig=dailySigning;applicationLabel=VCMI daily;applicationVariant=daily" --preset ${{ matrix.preset }} @@ -355,7 +358,7 @@ jobs: deploy-src: if: always() && github.ref == 'refs/heads/master' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 defaults: run: shell: bash