From 32e73da8c0fd1e9dda6c13d33cca321dd3662e7b Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 5 Jul 2026 12:59:00 +0200 Subject: [PATCH] docs, qt caches --- .github/workflows/desktop-build.yml | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 80c5308c5..598e54015 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -42,7 +42,7 @@ concurrency: jobs: configure: name: Configure - runs-on: ubuntu-slim + runs-on: ubuntu-slim # https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md outputs: tag: ${{ steps.configure.outputs.tag }} sha: ${{ steps.configure.outputs.sha }} @@ -145,7 +145,7 @@ jobs: name: ${{ matrix.distro }} ${{ matrix.distro_version }} needs: configure - runs-on: ubuntu-latest + runs-on: ubuntu-latest # https://github.com/actions/runner-images/tree/main#available-images continue-on-error: ${{ matrix.allow-failure == true }} timeout-minutes: 70 env: @@ -262,7 +262,7 @@ jobs: include: - os: macOS os_target_version: 13 - runner: macos-15-intel + runner: macos-15-intel # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md cmake_generator: Ninja make_package: true @@ -272,11 +272,11 @@ jobs: soc: Intel type: Release use_ccache: true - xcode: 16.4 + xcode: 26.3 - os: macOS os_target_version: 14 - runner: macos-14 + runner: macos-14 # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md cmake_generator: Ninja make_package: true @@ -286,11 +286,11 @@ jobs: soc: Apple type: Release use_ccache: true - xcode: 15.4 + xcode: 16.2 - os: macOS os_target_version: 15 - runner: macos-15 + runner: macos-15 # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md cmake_generator: Ninja make_package: true @@ -300,11 +300,11 @@ jobs: soc: Apple type: Release use_ccache: true - xcode: 16.4 + xcode: 26.3 - os: macOS os_target_version: 15 - runner: macos-15 + runner: macos-15 # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md cmake_generator: Ninja qt_version: 6.11.0 @@ -313,11 +313,11 @@ jobs: soc: Apple type: Debug use_ccache: true - xcode: 16.4 + xcode: 26.3 - os: Windows os_target_version: 10 - runner: windows-2025 + runner: windows-2025 # https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md cmake_generator: Visual Studio 18 2026 cmake_generator_platform: x64 @@ -362,7 +362,7 @@ jobs: id: restore_qt uses: actions/cache/restore@v6 with: - key: thin-qt-macos-${{ matrix.soc }}-${{ steps.resolve_qt_version.outputs.version }} + key: thin-Qt-${{ steps.resolve_qt_version.outputs.version }}-macOS${{ case(matrix.soc == 'Intel', '-Intel', '') }} path: ${{ github.workspace }}/Qt # Using jurplel/install-qt-action to install Qt without using brew @@ -385,7 +385,7 @@ jobs: if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit == '' uses: actions/cache/save@v6 with: - key: thin-qt-macos-${{ matrix.soc }}-${{ steps.resolve_qt_version.outputs.version }} + key: thin-Qt-${{ steps.resolve_qt_version.outputs.version }}-macOS${{ case(matrix.soc == 'Intel', '-Intel', '') }} path: ${{ github.workspace }}/Qt - name: "[Windows] Install NSIS" @@ -424,9 +424,9 @@ jobs: env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} with: - key: ccache-${{ matrix.runner }}-${{ matrix.soc }}-${{ matrix.type }}-${{ env.BRANCH_NAME }} + key: ccache-${{ matrix.os }}${{ matrix.os_target_version }}${{ case(matrix.soc == 'Intel', '-Intel', '') }}-${{ matrix.type }}-${{ env.BRANCH_NAME }} path: ${{ env.CCACHE_DIR }} - restore-keys: ccache-${{ matrix.runner }}-${{ matrix.soc }}-${{ matrix.type }}- + restore-keys: ccache-${{ matrix.os }}${{ matrix.os_target_version }}${{ case(matrix.soc == 'Intel', '-Intel', '') }}-${{ matrix.type }}- # Uses environment variables, see compile.sh for more details - name: "Build Cockatrice"