-
Notifications
You must be signed in to change notification settings - Fork 5
52 lines (41 loc) · 999 Bytes
/
spec.yml
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
48
49
50
51
52
name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
lua: ["5.1"]
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install hererocks
run: |
python -m pip install hererocks
- name: Install Lua and LuaRocks
run: |
python -m hererocks env --lua 5.1 --luarocks latest
- name: Install lfs
run: |
. env/bin/activate
luarocks install luafilesystem
luarocks show luafilesystem
lua -e 'print(_VERSION); print(package.cpath); require "lfs"'
- name: install busted
run: |
. env/bin/activate
luarocks install busted
- name: Build
run: |
. env/bin/activate
luarocks make
- name: Test
run: |
. env/bin/activate
luarocks test