Skip to content

github: build with all supported Lua versions, too #7

github: build with all supported Lua versions, too

github: build with all supported Lua versions, too #7

Workflow file for this run

name: Build orch
on:
push:
branches: ['*']
pull_request:
types: [opened, reopened, edited, synchronize]
permissions:
contents: read
jobs:
build:
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
steps:
- name: checkout
uses: actions/checkout@v4
- name: install system packages
run: |
sudo apt-get update --quiet || true
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/lua${{ matrix.lua }} \
LUA_LIB=-llua${{ matrix.lua }} bmake