1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #3431 from Alexander-Wilms/gcc-13-ci

CI: Build linux-gcc-test preset with gcc 13
This commit is contained in:
Ivan Savenko
2024-01-05 13:49:28 +02:00
committed by GitHub

View File

@@ -73,7 +73,7 @@ jobs:
test: 0
preset: linux-clang-test
- platform: linux
os: ubuntu-20.04
os: ubuntu-22.04
test: 0
preset: linux-gcc-test
- platform: linux
@@ -242,11 +242,12 @@ jobs:
env:
PULL_REQUEST: ${{ github.event.pull_request.number }}
- name: CMake Preset with ccache
- name: Configure
run: |
cmake -DENABLE_CCACHE:BOOL=ON --preset ${{ matrix.preset }}
if [[ ${{matrix.preset}} == linux-gcc-test ]]; then GCC13=1; fi
cmake -DENABLE_CCACHE:BOOL=ON --preset ${{ matrix.preset }} ${GCC13:+-DCMAKE_C_COMPILER=gcc-13 -DCMAKE_CXX_COMPILER=g++-13}
- name: Build Preset
- name: Build
run: |
cmake --build --preset ${{matrix.preset}}