From 649f4356862e5ba98cccac31a10bf6d9d3cee25a Mon Sep 17 00:00:00 2001 From: Zakariyya Mughal Date: Sun, 3 Mar 2024 11:21:31 -0500 Subject: [PATCH] Set up macOS deps --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4820b5e..822de10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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,12 @@ jobs: with: name: dist + # Setup system package deps + - name: Setup system deps (homebrew) + if: runner.os == 'macOS' + run: | + brew install ${{ env.PKG_HOMEBREW_DEPS }} + - name: Set up perl uses: shogo82148/actions-setup-perl@v1 if: matrix.os != 'windows-latest'