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:
9
.github/workflows/github.yml
vendored
9
.github/workflows/github.yml
vendored
@@ -73,7 +73,7 @@ jobs:
|
|||||||
test: 0
|
test: 0
|
||||||
preset: linux-clang-test
|
preset: linux-clang-test
|
||||||
- platform: linux
|
- platform: linux
|
||||||
os: ubuntu-20.04
|
os: ubuntu-22.04
|
||||||
test: 0
|
test: 0
|
||||||
preset: linux-gcc-test
|
preset: linux-gcc-test
|
||||||
- platform: linux
|
- platform: linux
|
||||||
@@ -242,11 +242,12 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
PULL_REQUEST: ${{ github.event.pull_request.number }}
|
PULL_REQUEST: ${{ github.event.pull_request.number }}
|
||||||
|
|
||||||
- name: CMake Preset with ccache
|
- name: Configure
|
||||||
run: |
|
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: |
|
run: |
|
||||||
cmake --build --preset ${{matrix.preset}}
|
cmake --build --preset ${{matrix.preset}}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user