Skip to content

Commit

Permalink
Added workflows for Linux, Windows and Apple
Browse files Browse the repository at this point in the history
  • Loading branch information
nawaz1991 committed Jul 8, 2024
1 parent 39f599d commit 8ae2779
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/common-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ jobs:
luarocks install lua-cjson
luarocks install luasocket
- name: Set up LuaRocks paths for Windows
if: runner.os == 'Windows'
run: |
eval $(luarocks path --bin)
echo "::set-env name=LUA_PATH::;;C:/Users/runneradmin/AppData/Roaming/luarocks/share/lua/5.3/?.lua;C:/Users/runneradmin/AppData/Roaming/luarocks/share/lua/5.3/?/init.lua"
echo "::set-env name=LUA_CPATH::;;C:/Users/runneradmin/AppData/Roaming/luarocks/lib/lua/5.3/?.dll"
- name: Verify LuaFileSystem installation
run: |
luarocks show luafilesystem
luarocks list
- name: Build using luarocks
run: luarocks make

Expand Down

0 comments on commit 8ae2779

Please sign in to comment.