-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 734 Bytes
/
Copy pathtest.yml
File metadata and controls
39 lines (30 loc) · 734 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:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@master
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@master
- name: setup
run: |
luarocks install carray
luarocks make rockspecs/lfft-scm-0.rockspec
- name: test
run: |
set -e
lua -v
cd tests
lua test01.lua
lua test02.lua
cd ../examples
lua example01.lua
lua example02.lua