Skip to content

Merge pull request #82 from tobil4sk/feature/windows-support #5

Merge pull request #82 from tobil4sk/feature/windows-support

Merge pull request #82 from tobil4sk/feature/windows-support #5

Workflow file for this run

name: CI
on: push
jobs:
lua:
strategy:
fail-fast: false
matrix:
os: [linux, macos]
lua: [lua=5.1, lua=5.2, lua=5.3, lua=5.4, luajit=2.0, luajit=2.1]
include:
- os: linux
runner: ubuntu-22.04
- os: macos
runner: macos-13
name: ${{ matrix.os }} (${{ matrix.lua }})
runs-on: ${{ matrix.runner }}
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 }}
env:
MACOSX_DEPLOYMENT_TARGET: 11.0
- name: Build lua-simdjson
run: |
source lua_install/bin/activate
luarocks make
- name: Run tests
run: |
source lua_install/bin/activate
luarocks install lua-cjson2
luarocks install busted
busted --verbose
windows:
strategy:
fail-fast: false
matrix:
lua: [lua=5.1, lua=5.2, lua=5.3, lua=5.4, luajit=2.0, luajit=2.1]
runs-on: windows-2022
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 }}
- name: Build lua-simdjson
run: |
.\lua_install\bin\activate
luarocks make
- name: Run tests
run: |
.\lua_install\bin\activate
luarocks install MSVCRT="m" lua-cjson2
luarocks install MSVCRT="m" busted
busted --verbose