Try using native Lua.

This commit is contained in:
David Given 2022-06-26 21:43:10 +02:00
parent 145d5ac4de
commit 37403f2f7b

View file

@ -8,18 +8,21 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: apt - name: apt
run: sudo apt update && sudo apt install bison flex ninja-build run: sudo apt update && sudo apt install bison flex ninja-build lua lua-posix
- name: make - name: make
run: make run: make LUA=lua
build-macos: build-macos:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: brew - name: brew
run: brew install ninja run: brew install ninja lua luarocks
- name: luarocks
run |
luarocks install luaposix
- name: make - name: make
run: make run: make LUA=lua
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
@ -35,12 +38,16 @@ jobs:
make make
mingw-w64-i686-gcc mingw-w64-i686-gcc
mingw-w64-i686-lua mingw-w64-i686-lua
mingw-w64-x86_64-lua-luarocks
ninja ninja
bison bison
flex flex
zip zip
- name: luarocks
run |
luarocks install luaposix
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: build - name: build
run: | run: |
make make LUA=lua