Skip to content

Commit e712f61

Browse files
committed
[ci] Add windows config
1 parent ea8d54e commit e712f61

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,27 @@ jobs:
3333
export PATH=$PATH:$PWD/lua_install/bin
3434
luarocks install busted
3535
busted --verbose
36+
37+
windows:
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
lua: [lua=5.1, lua=5.2, lua=5.3, lua=5.4, luajit=2.0, luajit=2.1]
42+
runs-on: windows-2022
43+
steps:
44+
# Checks-out the repository under $GITHUB_WORKSPACE.
45+
- uses: actions/checkout@v3
46+
- name: Install Lua (${{ matrix.lua }})
47+
run: |
48+
pip install hererocks
49+
hererocks lua_install -r^ --${{ matrix.lua }}
50+
- name: Build lua-simdjson
51+
run: |
52+
.\lua_install\bin\activate
53+
luarocks make
54+
- name: Run tests
55+
run: |
56+
.\lua_install\bin\activate
57+
luarocks install lua-cjson2
58+
luarocks install busted
59+
busted --verbose

0 commit comments

Comments
 (0)