simplify spec #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |