Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up macOS deps #6

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,10 @@ on:
pull_request:
create:

env:
PKG_HOMEBREW_DEPS: >-
libxml2

jobs:
notify:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -53,7 +57,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 +75,14 @@ jobs:
with:
name: dist

# Setup system package deps
- name: Setup system deps (homebrew)
if: runner.os == 'macOS'
run: |
brew install ${{ env.PKG_HOMEBREW_DEPS }}
# Need to add this because the libxml2 Homebrew formula is keg-only.
echo "$( brew --prefix libxml2 )/bin" >> $GITHUB_PATH

- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
if: matrix.os != 'windows-latest'
Expand Down
Loading