mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +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:
7
.github/workflows/github.yml
vendored
7
.github/workflows/github.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
before_install: linux_qt5.sh
|
before_install: linux_qt5.sh
|
||||||
preset: linux-gcc-test
|
preset: linux-gcc-test
|
||||||
- platform: linux
|
- platform: linux
|
||||||
os: ubuntu-20.04
|
os: ubuntu-22.04
|
||||||
test: 0
|
test: 0
|
||||||
before_install: linux_qt5.sh
|
before_install: linux_qt5.sh
|
||||||
preset: linux-gcc-debug
|
preset: linux-gcc-debug
|
||||||
@@ -246,6 +246,9 @@ jobs:
|
|||||||
if [[ ${{matrix.preset}} == linux-gcc-test ]]
|
if [[ ${{matrix.preset}} == linux-gcc-test ]]
|
||||||
then
|
then
|
||||||
cmake -DENABLE_CCACHE:BOOL=ON -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 --preset ${{ matrix.preset }}
|
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') ]]
|
elif [[ (${{matrix.preset}} == android-conan-ninja-release) && (${{github.ref}} != 'refs/heads/master') ]]
|
||||||
then
|
then
|
||||||
cmake -DENABLE_CCACHE:BOOL=ON -DANDROID_GRADLE_PROPERTIES="applicationIdSuffix=.daily;signingConfig=dailySigning;applicationLabel=VCMI daily;applicationVariant=daily" --preset ${{ matrix.preset }}
|
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:
|
deploy-src:
|
||||||
if: always() && github.ref == 'refs/heads/master'
|
if: always() && github.ref == 'refs/heads/master'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Reference in New Issue
Block a user