Don't install lua-posix any more.

This commit is contained in:
David Given 2022-07-15 00:14:23 +02:00
parent 870ecef75e
commit 877915da61

View file

@ -8,7 +8,7 @@ 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 lua5.1 lua-posix run: sudo apt update && sudo apt install bison flex ninja-build luajit
- name: make - name: make
run: make LUA=lua run: make LUA=lua
@ -17,14 +17,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: brew - name: brew
run: brew install ninja lua@5.1 luarocks run: brew install ninja luajit
- name: luarocks
run: |
luarocks install --lua-version 5.1 luaposix 33.0.0-1
- name: make - name: make
run: | run: |
eval $(luarocks --lua-version 5.1 path) make
make LUA=/usr/local/bin/lua5.1
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
@ -39,19 +35,14 @@ jobs:
install: >- install: >-
make make
mingw-w64-i686-gcc mingw-w64-i686-gcc
mingw-w64-i686-lua51 mingw-w64-i686-luajit
mingw-w64-i686-lua-luarocks
ninja ninja
bison bison
flex flex
zip zip
git git
- name: luarocks
run: |
/mingw32/bin/luarocks --lua-version 5.1 install luaposix 33.0.0-1
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: build - name: build
run: | run: |
eval $(/mingw32/bin/luarocks --lua-version 5.1 path) make
make LUA=/mingw32/bin/lua5.1