Skip to content

simplify spec

simplify spec #64

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
lua: ["5.1"]
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Lua
env:
# luajit fails to build on macos without this
MACOSX_DEPLOYMENT_TARGET: "10.15"
run: |
python -m pip install hererocks
python -m hererocks lua_install --lua ${{ matrix.lua }} --luarocks latest
. lua_install/bin/activate
luarocks install busted
- name: Build
run: |
. lua_install/bin/activate
luarocks make
- name: Test
run: |
. lua_install/bin/activate
busted test/test.lua