Skip to content

Commit

Permalink
Merge pull request #6 from zmughal-contrib/ci-macos
Browse files Browse the repository at this point in the history
Set up macOS deps
kjetilk authored Mar 8, 2024

Unverified

This user has not yet uploaded their public signing key.
2 parents 685831c + a19cd3c commit 0dcdb28
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
@@ -10,6 +10,10 @@ on:
pull_request:
create:

env:
PKG_HOMEBREW_DEPS: >-
libxml2
jobs:
notify:
runs-on: ubuntu-latest
@@ -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" }
@@ -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'

0 comments on commit 0dcdb28

Please sign in to comment.