Skip to content

Commit dae172d

Browse files
committed
Upgrade nightly macOS version to macos 15
1 parent efefa5d commit dae172d

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/nightly.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
libmysqlclient_with_mysqli:
1515
required: true
1616
type: boolean
17+
macos_arm64_version:
18+
required: true
19+
type: string
1720
run_alpine:
1821
required: true
1922
type: boolean
@@ -366,11 +369,11 @@ jobs:
366369
matrix:
367370
debug: [true, false]
368371
zts: [true, false]
369-
os: ['13', '14']
372+
arch: ['X64', 'ARM64']
370373
exclude:
371-
- os: ${{ !inputs.run_macos_arm64 && '14' || '*never*' }}
372-
name: "MACOS_${{ matrix.os == '13' && 'X64' || 'ARM64' }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
373-
runs-on: macos-${{ matrix.os }}
374+
- arch: ${{ !inputs.run_macos_arm64 && 'ARM64' || '*never*' }}
375+
name: "MACOS_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
376+
runs-on: macos-${{ matrix.arch == 'X64' && '15-intel' || inputs.macos_arm64_version }}
374377
steps:
375378
- name: git checkout
376379
uses: actions/checkout@v5
@@ -393,7 +396,7 @@ jobs:
393396
- name: Test
394397
uses: ./.github/actions/test-macos
395398
- name: Test Tracing JIT
396-
if: matrix.os != '14' || !matrix.zts
399+
if: matrix.arch == 'X64' || !matrix.zts
397400
uses: ./.github/actions/test-macos
398401
with:
399402
jitType: tracing
@@ -405,7 +408,7 @@ jobs:
405408
runTestsParameters: >-
406409
-d opcache.enable_cli=1
407410
- name: Test Function JIT
408-
if: matrix.os != '14' || !matrix.zts
411+
if: matrix.arch == 'X64' || !matrix.zts
409412
uses: ./.github/actions/test-macos
410413
with:
411414
jitType: function

.github/workflows/root.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
branch: ${{ matrix.branch.ref }}
5353
community_verify_type_inference: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5454
libmysqlclient_with_mysqli: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] == 1) }}
55+
macos_arm64_version: ${{ ((matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 5) || matrix.branch.version[0] >= 9) && '15' || '14' }}
5556
run_alpine: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5657
run_linux_ppc64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}
5758
run_macos_arm64: ${{ (matrix.branch.version[0] == 8 && matrix.branch.version[1] >= 4) || matrix.branch.version[0] >= 9 }}

0 commit comments

Comments
 (0)