Skip to content

Commit

Permalink
github: run tests on all platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Evans <[email protected]>
  • Loading branch information
kevans91 committed Jan 19, 2024
1 parent 5ac71bd commit bbd9159
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: build orch(1) (Ubuntu)
if: runner.os == 'Linux'
run: |
env ORCHLUA_PATH=/usr/share/orch LUA_INCDIR=/usr/include/lua${{ matrix.lua }} \
env ORCHLUA_PATH=/usr/local/share/orch LUA_INCDIR=/usr/include/lua${{ matrix.lua }} \
LUA_LIB=-llua${{ matrix.lua }} bmake
- name: build orch(1)
run: |
Expand All @@ -56,5 +56,12 @@ jobs:
lua_incdir="/usr/local/Cellar/lua/5.4.6/include/lua"
lua_lib="-L/usr/local/Cellar/lua/5.4.6/lib -llua5.4"
fi
env ORCHLUA_PATH=/usr/share/orch LUA_INCDIR="${lua_incdir}" \
env ORCHLUA_PATH=/usr/local/share/orch LUA_INCDIR="${lua_incdir}" \
LUA_LIB="${lua_lib}" bmake
- name: Run self-tests
run: |
sudo mkdir -p /usr/local/share/orch
sudo cp orch.lua /usr/local/share/orch
sh tests/basic_test.sh
rc=$?
exit "$rc"

0 comments on commit bbd9159

Please sign in to comment.