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