.github/workflows/build.yml: build only on Ubuntu 22.04

This commit is contained in:
Max Kellermann 2024-04-16 11:59:49 +02:00
parent 3b4825dd29
commit 122d71a05d
1 changed files with 6 additions and 4 deletions

View File

@ -33,12 +33,14 @@ jobs:
build-linux: build-linux:
strategy: strategy:
matrix: matrix:
os: [ubuntu-22.04, ubuntu-20.04] compiler: [gcc11, gcc10]
include: include:
- os: ubuntu-22.04 - compiler: gcc11
os: ubuntu-22.04
cc: gcc-11 cc: gcc-11
cxx: g++-11 cxx: g++-11
- os: ubuntu-20.04 - compiler: gcc10
os: ubuntu-22.04
cc: gcc-10 cc: gcc-10
cxx: g++-10 cxx: g++-10
@ -90,7 +92,7 @@ jobs:
- id: cache-ccache - id: cache-ccache
uses: hendrikmuhs/ccache-action@v1 uses: hendrikmuhs/ccache-action@v1
with: with:
key: ${{ matrix.os }} key: ${{ matrix.compiler }}
- name: Full Build - name: Full Build
uses: BSFishy/meson-build@v1.0.3 uses: BSFishy/meson-build@v1.0.3