Skip to content

Commit b2081f4

Browse files
committed
config icu4c for macos actions
1 parent 539f6b7 commit b2081f4

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
- name: configure - macos
3838
if: ${{ matrix.os == 'macos-latest' }}
3939
run: |
40-
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
40+
brew install icu4c
41+
export PKG_CONFIG_PATH=$(brew --prefix)/opt/icu4c/lib/pkgconfig
4142
./configure \
4243
--enable-cassert --enable-debug --enable-rpath --with-tcl \
4344
--with-python --with-pam --with-ldap --with-libedit-preferred \

.github/workflows/oracle_pg_regression.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- name: configure - macos
4242
if: ${{ matrix.os == 'macos-latest' }}
4343
run: |
44-
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
44+
brew install icu4c
45+
export PKG_CONFIG_PATH=$(brew --prefix)/opt/icu4c/lib/pkgconfig
4546
curl -L -o cpanm http://cpanmin.us && chmod +x cpanm && \
4647
./cpanm --sudo IPC::Run && \
4748
./configure \

.github/workflows/oracle_regression.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- name: configure - macos
4242
if: ${{ matrix.os == 'macos-latest' }}
4343
run: |
44-
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
44+
brew install icu4c
45+
export PKG_CONFIG_PATH=$(brew --prefix)/opt/icu4c/lib/pkgconfig
4546
curl -L -o cpanm http://cpanmin.us && chmod +x cpanm && \
4647
./cpanm --sudo IPC::Run && \
4748
./configure \

.github/workflows/pg_regression.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- name: configure - macos
4242
if: ${{ matrix.os == 'macos-latest' }}
4343
run: |
44-
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
44+
brew install icu4c
45+
export PKG_CONFIG_PATH=$(brew --prefix)/opt/icu4c/lib/pkgconfig
4546
curl -L -o cpanm http://cpanmin.us && chmod +x cpanm && \
4647
./cpanm --sudo IPC::Run && \
4748
./configure \

0 commit comments

Comments
 (0)