Skip to content

chore(ci): add version 2.6.2 of LibExpat to the CI matrix #307

chore(ci): add version 2.6.2 of LibExpat to the CI matrix

chore(ci): add version 2.6.2 of LibExpat to the CI matrix #307

Workflow file for this run

name: "Unix build"
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"]
expatVersion: ["2.4.4", "2.6.2"]
steps:
- uses: actions/checkout@v2
- uses: leafo/gh-actions-lua@v8
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@v4
- name: dependencies
run: |
luarocks install busted
- name: build expat
run: |
git clone -b R_$(echo ${{ matrix.expatVersion }} | sed "s/\./_/g") --single-branch https://github.com/libexpat/libexpat.git
cd libexpat/expat
./buildconf.sh
./configure
sudo make install
- name: build luaexpat
run: |
luarocks make
- name: test suite
run: |
busted --Xoutput "--color"