Skip to content

Commit fc5d83f

Browse files
committed
Prepare for necessary move to macOS 13
GH will remove macOS 12 runner images as of December 3rd, so we prepare for that. Besides the obvious need to change the runner, we also suppress a couple of warnings, because otherwise the build would fail due to `-Werror`.
1 parent 2c40762 commit fc5d83f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/configure-macos/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig"
2020
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig"
2121
./buildconf --force
22-
./configure \
22+
CFLAGS='-Wno-strict-prototypes -Wno-unused-but-set-variable -Wno-single-bit-bitfield-constant-conversion' ./configure \
2323
--enable-option-checking=fatal \
2424
--prefix=/usr/local \
2525
--enable-fpm \

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
uses: ./.github/actions/verify-generated-files
9898
MACOS_DEBUG_NTS:
9999
if: github.repository == 'php/php-src' || github.event_name == 'pull_request'
100-
runs-on: macos-12
100+
runs-on: macos-13
101101
steps:
102102
- name: git checkout
103103
uses: actions/checkout@v4

0 commit comments

Comments
 (0)