From 122d71a05d330cdc0e6c68fc901e34cf762a8f30 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Apr 2024 11:59:49 +0200 Subject: [PATCH] .github/workflows/build.yml: build only on Ubuntu 22.04 --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 869136b4b..32059efa5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,12 +33,14 @@ jobs: build-linux: strategy: matrix: - os: [ubuntu-22.04, ubuntu-20.04] + compiler: [gcc11, gcc10] include: - - os: ubuntu-22.04 + - compiler: gcc11 + os: ubuntu-22.04 cc: gcc-11 cxx: g++-11 - - os: ubuntu-20.04 + - compiler: gcc10 + os: ubuntu-22.04 cc: gcc-10 cxx: g++-10 @@ -90,7 +92,7 @@ jobs: - id: cache-ccache uses: hendrikmuhs/ccache-action@v1 with: - key: ${{ matrix.os }} + key: ${{ matrix.compiler }} - name: Full Build uses: BSFishy/meson-build@v1.0.3