-
Notifications
You must be signed in to change notification settings - Fork 9
39 lines (34 loc) · 804 Bytes
/
test.yml
File metadata and controls
39 lines (34 loc) · 804 Bytes
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
name: test
on: [push]
jobs:
test:
strategy:
matrix:
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.2"]
os: [macOs-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- uses: ./
with:
lua-version: ${{ matrix.luaVersion }}
- name: test lua
run: |
which lua
lua -e "print(_VERSION)"
windows:
runs-on: windows-latest
strategy:
matrix:
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "5.4.2"]
platform: [Win32, x64]
steps:
- uses: actions/checkout@master
- uses: ./
with:
lua-version: ${{ matrix.luaVersion }}
platform: ${{ matrix.platform }}
- name: test lua
run: |
which lua
lua -e "print(_VERSION)"