Skip to content

Commit

Permalink
Change path and pkg_config_path for macOS CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Nov 24, 2024
1 parent b35ab7c commit 8bcae4f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python_package_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ jobs:
if: matrix.os == 'macos-latest'
run: |
brew bundle install --file=Brewfile
# configure PATH & PKG_CONFIG_PATH as per
# https://gitlab.pyicu.org/main/pyicu
echo "/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/icu4c/sbin:$PATH" >> $GITHUB_PATH
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/homebrew/opt/icu4c/lib/pkgconfig" >> $GITHUB_ENV
# Configure PATH & PKG_CONFIG_PATH as in https://gitlab.pyicu.org/main/pyicu.
echo "PATH='$(brew --prefix)/opt/icu4c/bin:$(brew --prefix)/opt/icu4c/sbin:$PATH'" >> $GITHUB_PATH
echo "PKG_CONFIG_PATH='$PKG_CONFIG_PATH:$(brew --prefix)/opt/icu4c/lib/pkgconfig'" >> $GITHUB_ENV
- name: Install Python Dependencies
run: |
Expand Down

0 comments on commit 8bcae4f

Please sign in to comment.