docs, qt caches

This commit is contained in:
tooomm 2026-07-05 12:59:00 +02:00 committed by GitHub
parent fc1d1b4f5d
commit 32e73da8c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ concurrency:
jobs: jobs:
configure: configure:
name: 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: outputs:
tag: ${{ steps.configure.outputs.tag }} tag: ${{ steps.configure.outputs.tag }}
sha: ${{ steps.configure.outputs.sha }} sha: ${{ steps.configure.outputs.sha }}
@ -145,7 +145,7 @@ jobs:
name: ${{ matrix.distro }} ${{ matrix.distro_version }} name: ${{ matrix.distro }} ${{ matrix.distro_version }}
needs: configure 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 }} continue-on-error: ${{ matrix.allow-failure == true }}
timeout-minutes: 70 timeout-minutes: 70
env: env:
@ -262,7 +262,7 @@ jobs:
include: include:
- os: macOS - os: macOS
os_target_version: 13 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 cmake_generator: Ninja
make_package: true make_package: true
@ -272,11 +272,11 @@ jobs:
soc: Intel soc: Intel
type: Release type: Release
use_ccache: true use_ccache: true
xcode: 16.4 xcode: 26.3
- os: macOS - os: macOS
os_target_version: 14 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 cmake_generator: Ninja
make_package: true make_package: true
@ -286,11 +286,11 @@ jobs:
soc: Apple soc: Apple
type: Release type: Release
use_ccache: true use_ccache: true
xcode: 15.4 xcode: 16.2
- os: macOS - os: macOS
os_target_version: 15 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 cmake_generator: Ninja
make_package: true make_package: true
@ -300,11 +300,11 @@ jobs:
soc: Apple soc: Apple
type: Release type: Release
use_ccache: true use_ccache: true
xcode: 16.4 xcode: 26.3
- os: macOS - os: macOS
os_target_version: 15 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 cmake_generator: Ninja
qt_version: 6.11.0 qt_version: 6.11.0
@ -313,11 +313,11 @@ jobs:
soc: Apple soc: Apple
type: Debug type: Debug
use_ccache: true use_ccache: true
xcode: 16.4 xcode: 26.3
- os: Windows - os: Windows
os_target_version: 10 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: Visual Studio 18 2026
cmake_generator_platform: x64 cmake_generator_platform: x64
@ -362,7 +362,7 @@ jobs:
id: restore_qt id: restore_qt
uses: actions/cache/restore@v6 uses: actions/cache/restore@v6
with: 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 path: ${{ github.workspace }}/Qt
# Using jurplel/install-qt-action to install Qt without using brew # 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 == '' if: matrix.os == 'macOS' && steps.restore_qt.outputs.cache-hit == ''
uses: actions/cache/save@v6 uses: actions/cache/save@v6
with: 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 path: ${{ github.workspace }}/Qt
- name: "[Windows] Install NSIS" - name: "[Windows] Install NSIS"
@ -424,9 +424,9 @@ jobs:
env: env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
with: 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 }} 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 # Uses environment variables, see compile.sh for more details
- name: "Build Cockatrice" - name: "Build Cockatrice"