mirror of
https://github.com/leafo/moonscript.git
synced 2024-12-08 01:54:24 +00:00
add github actions workflow
This commit is contained in:
parent
df7b10335d
commit
91b483323c
31
.github/workflows/spec.yml
vendored
Normal file
31
.github/workflows/spec.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: "spec"
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit", "luajit-openresty"]
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- uses: leafo/gh-actions-lua@master
|
||||||
|
with:
|
||||||
|
luaVersion: ${{ matrix.luaVersion }}
|
||||||
|
|
||||||
|
- uses: leafo/gh-actions-luarocks@master
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
|
luarocks install busted
|
||||||
|
luarocks install loadkit
|
||||||
|
luarocks make
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
run: |
|
||||||
|
busted -o utfTerminal
|
Loading…
Reference in New Issue
Block a user