Skip to content

Commit 9128fb8

Browse files
committed
Stick with icu4c 74.2 on macOS CI for PHP-8.1
PHP-8.1 is not ready for ICU >= 75.1 which requires C++17 support. Thus we force the usage of icu4c@74, what is scheduled for removal in May 2025, though. Closes phpGH-16789.
1 parent d6249b6 commit 9128fb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/brew/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ runs:
2121
webp \
2222
freetype \
2323
intltool \
24-
icu4c \
2524
libiconv \
2625
zlib \
2726
t1lib \
@@ -33,4 +32,5 @@ runs:
3332
libjpeg \
3433
libxslt \
3534
postgresql
35+
brew reinstall icu4c@74
3636
brew link icu4c gettext --force

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxml2/lib/pkgconfig"
1919
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/libxslt/lib/pkgconfig"
2020
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/zlib/lib/pkgconfig"
21-
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c/lib/pkgconfig"
21+
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/icu4c@74/lib/pkgconfig"
2222
sed -i -e 's/Requires.private:.*//g' "$BREW_OPT/curl/lib/pkgconfig/libcurl.pc"
2323
./buildconf --force
2424
./configure \

0 commit comments

Comments
 (0)