From 37403f2f7bcfd0ceb9626ce0955d767492bcbf81 Mon Sep 17 00:00:00 2001 From: David Given Date: Sun, 26 Jun 2022 21:43:10 +0200 Subject: [PATCH] Try using native Lua. --- .github/workflows/ccpp.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 3e42286b4..ebca00581 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -8,18 +8,21 @@ jobs: steps: - uses: actions/checkout@v3 - 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 - run: make + run: make LUA=lua build-macos: runs-on: macos-latest steps: - uses: actions/checkout@v3 - name: brew - run: brew install ninja + run: brew install ninja lua luarocks + - name: luarocks + run | + luarocks install luaposix - name: make - run: make + run: make LUA=lua build-windows: runs-on: windows-latest @@ -35,12 +38,16 @@ jobs: make mingw-w64-i686-gcc mingw-w64-i686-lua + mingw-w64-x86_64-lua-luarocks ninja bison flex zip + - name: luarocks + run | + luarocks install luaposix - uses: actions/checkout@v3 - name: build run: | - make + make LUA=lua