Skip to content

Commit f945d93

Browse files
committed
adding two more macos jobs
1 parent 39a7d49 commit f945d93

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/push.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,20 @@ jobs:
9898
- name: Verify generated files are up to date
9999
uses: ./.github/actions/verify-generated-files
100100
MACOS_DEBUG_NTS:
101-
runs-on: macos-12
101+
strategy:
102+
fail-fast: false
103+
matrix:
104+
include:
105+
- os: 12
106+
arch: X64
107+
- os: 14
108+
arch: ARM64
109+
- debug: true
110+
zts: false
111+
- debug: false
112+
zts: true
113+
name: "MACOS_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
114+
runs-on: macos-${{ matrix.os }}
102115
steps:
103116
- name: git checkout
104117
uses: actions/checkout@v4
@@ -112,7 +125,9 @@ jobs:
112125
- name: ./configure
113126
uses: ./.github/actions/configure-macos
114127
with:
115-
configurationParameters: --enable-debug --disable-zts
128+
configurationParameters: >-
129+
--${{ matrix.debug && 'enable' || 'disable' }}-debug
130+
--${{ matrix.zts && 'enable' || 'disable' }}-zts
116131
- name: make
117132
run: |-
118133
export PATH="/usr/local/opt/bison/bin:$PATH"
@@ -122,7 +137,7 @@ jobs:
122137
- name: Test Tracing JIT
123138
uses: ./.github/actions/test-macos
124139
with:
125-
testArtifacts: ${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
140+
testArtifacts: ${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
126141
jitType: tracing
127142
runTestsParameters: >-
128143
-d zend_extension=opcache.so

0 commit comments

Comments
 (0)