Skip to content

Commit 78bd778

Browse files
add macos matrix
1 parent 32d9658 commit 78bd778

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/qt5_6.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,13 @@ jobs:
9999
######################
100100

101101
macOS:
102-
name: 🍏 macOS x64
103-
runs-on: macos-latest
102+
name: 🍏 macOS ${{ matrix.architecture }}
103+
runs-on: ${{ matrix.architecture == 'arm64' && 'macos-14' || 'macos-13' }}
104+
strategy:
105+
fail-fast: false
106+
matrix:
107+
architecture: [ arm64, x64 ]
108+
104109
steps:
105110
- name: ⬇ Checkout
106111
uses: actions/checkout@v4
@@ -136,7 +141,7 @@ jobs:
136141
name: ${{ inputs.event_name == 'pull_request' && env.NAME || format('artifact-{0}', env.NAME) }}
137142
path: 'build/Hyperion-*'
138143
env:
139-
NAME: ${{ inputs.qt_version == '6' && 'macOS_x64_qt6' || 'macOS_x64' }}
144+
NAME: ${{ inputs.qt_version == '6' && format('macOS_{0}_qt6', matrix.architecture) || format('macOS_{0}', matrix.architecture) }}
140145

141146
######################
142147
###### Windows #######

0 commit comments

Comments
 (0)