Skip to content

update version

update version #239

Workflow file for this run

name: Linux
on:
pull_request:
push:
release:
types: [published]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
luaVersion: ["5.4.1", "5.1.5", "luajit-openresty"]
luarocksVersion: ["3.5.0", "3.0.1"]
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Linux-${{ matrix.luaVersion }}-${{ matrix.luarocksVersion }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
- uses: leafo/gh-actions-lua@v8
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@v4
with:
luarocksVersion: ${{ matrix.luarocksVersion }}
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
- name: Tests
run: |
luarocks install --local rockspecs/example1-1.0-1.rockspec
lua -e "print(require(\"example1.hello\"))"
lua -e "print(require(\"example1.test\"))"
luarocks install --local rockspecs/example2-1.0-1.rockspec
lua -e "print(require(\"example2.hello\"))"
lua -e "print(require(\"example2.test\"))"