-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (35 loc) · 1.08 KB
/
lua-linux-ci.yml
File metadata and controls
47 lines (35 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Lua CI test for Ubuntu Linux
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"]
machineTag: ["ubuntu-latest", "macos-latest"]
runs-on: ${{ matrix.machineTag }}
steps:
- uses: actions/checkout@main
- name: Build Lua
uses: './'
with:
luaVersion: ${{ matrix.luaVersion }}
buildCache: false
- name: Test Lua
run: lua -e 'print("hi from lua")'
test-cache:
needs: test
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.1", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"]
machineTag: ["ubuntu-latest", "macos-latest"]
runs-on: ${{ matrix.machineTag }}
steps:
- uses: actions/checkout@main
- name: Get Lua from cache
uses: './'
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Test Lua
run: lua -e 'print("hi from lua")'