Skip to content

Commit

Permalink
Set up macOS deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal committed Mar 3, 2024
1 parent 685831c commit 881cb68
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
pull_request:
create:

env:
PKG_HOMEBREW_DEPS: >-
pkg-config
libxml2
jobs:
notify:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -53,7 +58,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
os: [macos-latest, windows-latest, ubuntu-latest]
perl: ['5']
include:
- { os: 'ubuntu-latest', perl: "5.32" }
Expand All @@ -71,6 +76,13 @@ jobs:
with:
name: dist

# Setup system package deps
- name: Setup system deps (homebrew)
if: runner.os == 'macOS'
run: |
brew install ${{ env.PKG_HOMEBREW_DEPS }}
echo "PKG_CONFIG_PATH=/usr/local/opt/libxml2/lib/pkgconfig" >> $GITHUB_ENV
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
if: matrix.os != 'windows-latest'
Expand Down

0 comments on commit 881cb68

Please sign in to comment.