Skip to content

Merge pull request #80 from tobil4sk/fix/make-LUA_LIBDIR #4

Merge pull request #80 from tobil4sk/fix/make-LUA_LIBDIR

Merge pull request #80 from tobil4sk/fix/make-LUA_LIBDIR #4

Workflow file for this run

name: CI
on: push
jobs:
lua:
strategy:
fail-fast: false
matrix:
os: [linux, macos]
lua: [lua=5.1, lua=5.2, lua=5.3, lua=5.4, luajit=2.0, luajit=2.1]
include:
- os: linux
runner: ubuntu-22.04
- os: macos
runner: macos-13
name: ${{ matrix.os }} (${{ matrix.lua }})
runs-on: ${{ matrix.runner }}
steps:
# Checks-out the repository under $GITHUB_WORKSPACE.
- uses: actions/checkout@v3
- name: Install Lua (${{ matrix.lua }})
run: |
pip install hererocks
hererocks lua_install -r^ --${{ matrix.lua }}
env:
MACOSX_DEPLOYMENT_TARGET: 11.0
- name: Build lua-simdjson
run: |
source lua_install/bin/activate
luarocks make
- name: Run tests
run: |
source lua_install/bin/activate
luarocks install lua-cjson2
luarocks install busted
busted --verbose