Skip to content

CI Test on Windows (Mingw64) #105

CI Test on Windows (Mingw64)

CI Test on Windows (Mingw64) #105

Workflow file for this run

name: "Unix build"
on: [push, pull_request]
jobs:
test:
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
- uses: leafo/gh-actions-lua@v9
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@v4
- name: Install libvips
run: |
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: |
make dev
if [[ ${{ matrix.luaVersion }} == 5.* ]]; then make ffi; fi
if [[ ${{ matrix.luaVersion }} == 5.1 ]] || [[ ${{ matrix.luaVersion }} == 5.2 ]]; then
make bit
fi
- name: Lint with luacheck
run: |
make lint
- name: Busted tests
run: |
make test