diff --git a/.github/workflows/macos-qt6.yml b/.github/workflows/macos-qt6.yml index da0ece58..2845eb3f 100644 --- a/.github/workflows/macos-qt6.yml +++ b/.github/workflows/macos-qt6.yml @@ -19,11 +19,16 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest] build_type: [Release, RelWithDebInfo, Debug] arch: [x86_64, arm64] qt_ver: [6.12.0] qt_arch: [clang_64] + # Run each architecture natively: Rosetta can stall compiler startup. + include: + - arch: x86_64 + os: macos-26-intel + - arch: arm64 + os: macos-latest env: targetName: lemon steps: @@ -54,7 +59,6 @@ jobs: -DCMAKE_OSX_ARCHITECTURES="${{ matrix.arch }}" cmake --build . --parallel $(sysctl -n hw.logicalcpu) - name: Run tests - if: ${{ false }} run: | ctest --test-dir . --output-on-failure --timeout 120 # tag 打包