Skip to content

Commit

Permalink
Add GitHub action for macOS builds
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Mar 14, 2024
1 parent f04e7a1 commit 9bdc24c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/makeall-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@ jobs:
env:
OS: ${{ matrix.os }}
PYTHON_VERSION: ${{ matrix.python-version }}
PKG_CONFIG_PATH: ${{ env.HOMEBREW_PREFIX }}/opt/icu4c/lib/pkgconfig:${{ env.HOMEBREW_PREFIX }}/opt/libarchive/lib/pkgconfig

steps:
- name: Show inputs.os
run: echo ${{ inputs.os }}
- name: Show environment
run: export && echo "OS=${{ env.OS }}, PYTHON_VERSION=${{ env.PYTHON_VERSION }} ($(python3 --version))"
run: export && echo "OS=${{ env.OS }}, PYTHON_VERSION=${{ env.PYTHON_VERSION }} ($(python3 --version)), $HOMEBREW_PREFIX"
- name: Show Python executables
run: ls -l /usr/bin/python* /usr/local/bin/p*
- uses: actions/checkout@v4
- name: Install dependencies
# curl and icu4c are already installed
run: brew install automake cabextract geos leptonica libarchive libtool pango parallel
- name: Make all
run: make all
if: runner.os == 'macOS'
run: PKG_CONFIG_PATH=${{ env.HOMEBREW_PREFIX }}/opt/icu4c/lib/pkgconfig:$HOMEBREW_PREFIX/opt/libarchive/lib/pkgconfig make all
- name: Make check
run: make check

0 comments on commit 9bdc24c

Please sign in to comment.