Skip to content

Commit

Permalink
github: build with all supported Lua versions, too
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 659c903 commit 9750fed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ permissions:

jobs:
build:
name: Build ${{ matrix.os }}
name: Build ${{ matrix.os }}@lua${{ matrix.lua }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
lua: [5.2, 5.3, 5.4]
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
Expand All @@ -24,8 +25,8 @@ jobs:
- name: install system packages
run: |
sudo apt-get update --quiet || true
sudo apt-get -yq --no-install-suggests --no-install-recommends install bmake liblua5.2-dev
sudo apt-get -yq --no-install-suggests --no-install-recommends install bmake liblua${{ matrix.lua }}-dev
- name: linux build
run: |
env ORCHLUA_PATH=/usr/share/orch LUA_INCDIR=/usr/include/lua5.2 \
LUA_LIB=-llua5.2 bmake
env ORCHLUA_PATH=/usr/share/orch LUA_INCDIR=/usr/include/lua${{ matrix.lua }} \
LUA_LIB=-llua${{ matrix.lua }} bmake

0 comments on commit 9750fed

Please sign in to comment.