Skip to content

Commit

Permalink
Add macos-latest to CI matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandlo committed Mar 20, 2024
1 parent 7101e1b commit 9da0288
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit-2.1.0-beta3", "luajit-openresty"]
os: ["ubuntu-latest", "macos-latest"]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
Expand All @@ -22,7 +23,11 @@ jobs:

- name: Install libvips
run: |
sudo apt install --no-install-recommends libvips-dev
if [[ ${{ matrix.os }} == macos* ]]; then
brew install vips
elif [[ ${{ matrix.os }} == ubuntu* ]]; then
sudo apt install --no-install-recommends libvips-dev
fi
- name: Lua dependencies
run: |
Expand Down

0 comments on commit 9da0288

Please sign in to comment.