use env vars instead of matrix

This commit is contained in:
Bruno Alexandre Rosa 2025-09-24 14:41:41 -03:00
parent c6845b03d6
commit 48cbd8c9a3

View file

@ -229,10 +229,6 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
# Common parameters for all macOS builds
qt_version: [6.6.*]
qt_arch: [clang_64]
qt_modules: ["qtimageformats qtmultimedia qtwebsockets"]
include: include:
- target: 13 - target: 13
soc: Intel soc: Intel
@ -266,6 +262,11 @@ jobs:
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}
continue-on-error: ${{matrix.allow-failure == 'yes'}} continue-on-error: ${{matrix.allow-failure == 'yes'}}
env: env:
# Common parameters for all macOS builds
QT_VERSION: 6.6.*
QT_ARCH: clang_64
QT_MODULES: "qtimageformats qtmultimedia qtwebsockets"
# Build-specific environment variables
CCACHE_DIR: ${{github.workspace}}/.ccache/${{matrix.os}}-${{matrix.type}} CCACHE_DIR: ${{github.workspace}}/.ccache/${{matrix.os}}-${{matrix.type}}
CCACHE_SIZE: 500M CCACHE_SIZE: 500M
DEVELOPER_DIR: DEVELOPER_DIR:
@ -284,14 +285,14 @@ jobs:
install: true install: true
install-type: "binary" install-type: "binary"
- name: Install Qt ${{matrix.qt_version}} - name: Install Qt ${{env.QT_VERSION}}
uses: jurplel/install-qt-action@v4 uses: jurplel/install-qt-action@v4
with: with:
cache: true cache: true
setup-python: true setup-python: true
version: ${{matrix.qt_version}} version: ${{env.QT_VERSION}}
arch: ${{matrix.qt_arch}} arch: ${{env.QT_ARCH}}
modules: ${{matrix.qt_modules}} modules: ${{env.QT_MODULES}}
- name: Setup vcpkg cache - name: Setup vcpkg cache
id: vcpkg-cache id: vcpkg-cache