Skip to content

Commit c5c9f46

Browse files
Merge branch 'master' into feature/windows-support
2 parents 1958042 + 15ae810 commit c5c9f46

3 files changed

Lines changed: 13 additions & 57 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,32 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10+
os: [linux, macos]
11+
lua: [lua=5.1, lua=5.2, lua=5.3, lua=5.4, luajit=2.0, luajit=2.1]
1012
include:
11-
- lua: lua=5.1
12-
- lua: lua=5.2
13-
- lua: lua=5.3
14-
- lua: lua=5.4
15-
- lua: luajit=2.0
16-
- lua: luajit=2.1
17-
runs-on: ubuntu-22.04
13+
- os: linux
14+
runner: ubuntu-22.04
15+
- os: macos
16+
runner: macos-13
17+
name: ${{ matrix.os }} (${{ matrix.lua }})
18+
runs-on: ${{ matrix.runner }}
1819
steps:
1920
# Checks-out the repository under $GITHUB_WORKSPACE.
2021
- uses: actions/checkout@v3
2122
- name: Install Lua (${{ matrix.lua }})
2223
run: |
2324
pip install hererocks
2425
hererocks lua_install -r^ --${{ matrix.lua }}
25-
export PATH=$PATH:$PWD/lua_install/bin
26-
luarocks install lua-cjson2
26+
env:
27+
MACOSX_DEPLOYMENT_TARGET: 11.0
2728
- name: Build lua-simdjson
2829
run: |
29-
export PATH=$PATH:$PWD/lua_install/bin
30+
source lua_install/bin/activate
3031
luarocks make
3132
- name: Run tests
3233
run: |
33-
export PATH=$PATH:$PWD/lua_install/bin
34+
source lua_install/bin/activate
35+
luarocks install lua-cjson2
3436
luarocks install busted
3537
busted --verbose
3638

.travis.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

lua-simdjson-0.0.2-1.rockspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ build = {
2020
build_variables = {
2121
CFLAGS="$(CFLAGS)",
2222
LIBFLAG="$(LIBFLAG)",
23-
LUA_LIBDIR="$(LUA_LIBDIR)",
2423
LUA_BINDIR="$(LUA_BINDIR)",
2524
LUA_INCDIR="$(LUA_INCDIR)",
2625
LUA="$(LUA)",

0 commit comments

Comments
 (0)