From f9ca2ba7a5f24c244424acd3cb1afae27727bdda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 6 Jan 2022 13:20:11 +0100 Subject: [PATCH] Extend CI matrix and Update cache keys (#16386) --- .github/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 844ded3828..62fd17d3ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -217,35 +217,30 @@ jobs: strategy: fail-fast: false matrix: - platform: [x86_64, i686] include: - platform: x86_64 distro: bionic image: openrct2/openrct2-build:0.3.1-bionic - cache_key: linux-portable build_flags: -DCMAKE_POSITION_INDEPENDENT_CODE=on -DCMAKE_CXX_FLAGS="-g -gz" - platform: x86_64 distro: focal image: openrct2/openrct2-build:5-focal - cache_key: linux-portable build_flags: -DCMAKE_POSITION_INDEPENDENT_CODE=on -DCMAKE_CXX_FLAGS="-g -gz" - platform: x86_64 distro: bullseye image: openrct2/openrct2-build:5-bullseye - cache_key: linux-portable build_flags: -DCMAKE_POSITION_INDEPENDENT_CODE=on -DCMAKE_CXX_FLAGS="-g -gz" - platform: i686 distro: bionic image: openrct2/openrct2-build:0.3.1-bionic32 - cache_key: linux-portable-32 - build_flags: -DFORCE32=ON -DENABLE_SCRIPTING=OFF -DCMAKE_CXX_FLAGS="-m32 -gz" + build_flags: -DFORCE32=ON -DENABLE_SCRIPTING=OFF -DCMAKE_CXX_FLAGS="-m32 -g -gz" steps: - name: Checkout uses: actions/checkout@v2 - name: ccache uses: hendrikmuhs/ccache-action@v1 with: - key: ${{ matrix.cache_key }} + key: linux-${{ matrix.platform }}-${{ matrix.distro }} - name: Get pre-reqs run: . scripts/setenv && get-discord-rpc - name: Build OpenRCT2