From 9750fedc6d7ac20ce8d52aca6d0e0cad02c85e10 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Thu, 18 Jan 2024 21:30:18 -0600 Subject: [PATCH] github: build with all supported Lua versions, too Signed-off-by: Kyle Evans --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1527c2a..ef9509e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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