1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-08 22:26:51 +02:00

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.
This commit is contained in:
Ivan Savenko
2025-02-13 21:47:55 +00:00
parent 7e1ce095a1
commit 4e8372ef41

View File

@ -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