Skip to content

Commit 9152cfb

Browse files
committed
Update GitHub Actions runners to latest versions
- Replace deprecated macOS 13 with macOS 15-intel (x86_64) - Update macOS 14 to macOS 15 (ARM64) - Update JIT test conditions for new macOS version - Migrate ubuntu-22.04 to ubuntu-latest for Linux and Alpine builds - Migrate windows-2022 to windows-latest This addresses GitHub Actions issue #13046 regarding macOS 13 deprecation scheduled for complete removal by December 8, 2025.
1 parent 38fa354 commit 9152cfb

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/build-alpine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
zts: false
2121

2222
name: "ALPINE_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || ''}}"
23-
runs-on: ubuntu-22.04
23+
runs-on: ubuntu-latest
2424
container:
2525
image: 'alpine:3.20.1'
2626
timeout-minutes: 45

.github/workflows/build-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
zts: false
2121

2222
name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || ''}}"
23-
runs-on: ubuntu-22.04
23+
runs-on: ubuntu-latest
2424
timeout-minutes: ${{ matrix.asan && 360 || 60 }}
2525

2626
services:

.github/workflows/build-macos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
matrix:
1212
debug: [true, false]
1313
zts: [true, false]
14-
os: ['13', '14'] # macOS 13 (Intel) and 14 (ARM64)
15-
16-
name: "MACOS_${{ matrix.os == '13' && 'X64' || 'ARM64' }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
14+
os: ['15-intel', '15'] # macOS 15 Intel (x86_64) and 15 (ARM64)
15+
16+
name: "MACOS_${{ matrix.os == '15-intel' && 'X64' || 'ARM64' }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
1717
runs-on: macos-${{ matrix.os }}
1818

1919
steps:
@@ -155,7 +155,7 @@ jobs:
155155
156156
- name: Test Tracing JIT
157157
# Skip JIT on ARM64 + ZTS due to known issues
158-
if: matrix.os != '14' || !matrix.zts
158+
if: matrix.os != '15' || !matrix.zts
159159
working-directory: php-src/ext/async
160160
run: |
161161
/usr/local/bin/php ../../run-tests.php \
@@ -185,7 +185,7 @@ jobs:
185185
186186
- name: Test Function JIT
187187
# Skip JIT on ARM64 + ZTS due to known issues
188-
if: matrix.os != '14' || !matrix.zts
188+
if: matrix.os != '15' || !matrix.zts
189189
working-directory: php-src/ext/async
190190
run: |
191191
/usr/local/bin/php ../../run-tests.php \

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
WINDOWS:
99
name: WINDOWS_X64_ZTS
10-
runs-on: windows-2022
10+
runs-on: windows-latest
1111
timeout-minutes: 50
1212
env:
1313
PHP_BUILD_CACHE_BASE_DIR: C:\build-cache

0 commit comments

Comments
 (0)