-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (33 loc) · 893 Bytes
/
ci.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
name: CI
on: push
jobs:
lua:
strategy:
fail-fast: false
matrix:
include:
- lua: lua=5.1
- lua: lua=5.2
- lua: lua=5.3
- lua: lua=5.4
- lua: luajit=2.0
- lua: luajit=2.1
runs-on: ubuntu-22.04
steps:
# Checks-out the repository under $GITHUB_WORKSPACE.
- uses: actions/checkout@v3
- name: Install Lua (${{ matrix.lua }})
run: |
pip install hererocks
hererocks lua_install -r^ --${{ matrix.lua }}
export PATH=$PATH:$PWD/lua_install/bin
luarocks install lua-cjson2
- name: Build lua-simdjson
run: |
export PATH=$PATH:$PWD/lua_install/bin
luarocks make
- name: Run tests
run: |
export PATH=$PATH:$PWD/lua_install/bin
luarocks install busted
busted --verbose