Skip to content

Commit e0c90c1

Browse files
committed
Update CI
1 parent 1ef4d35 commit e0c90c1

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,30 @@ on: [push, pull_request]
44
jobs:
55
build:
66
name: Build
7-
runs-on: ${{ matrix.os }}
8-
strategy:
9-
matrix:
10-
os: [ubuntu-24.04]
11-
lua: [lua54]
7+
runs-on: ubuntu-latest
128
steps:
139
- uses: actions/checkout@main
1410
- uses: dtolnay/rust-toolchain@stable
15-
- name: Install ${{ matrix.lua }} module
11+
- name: Install module
1612
run: |
1713
sudo apt update
1814
sudo apt install -y git curl luarocks lua5.4 liblua5.4-dev
1915
luarocks-5.4 --local install luarocks-build-rust-mlua-dev-1.rockspec
2016
cargo -V
2117
luarocks-5.4 --local install lua-ryaml
22-
shell: bash
18+
19+
build_luarocks_3_12:
20+
name: Build with luarocks 3.12
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@main
24+
- uses: dtolnay/rust-toolchain@stable
25+
- name: Install module using luarocks 3.12
26+
run: |
27+
sudo apt update
28+
sudo apt install -y git curl lua5.4 liblua5.4-dev
29+
curl -L https://luarocks.github.io/luarocks/releases/luarocks-3.12.0.tar.gz | tar xz
30+
(cd luarocks-3.12.0 && ./configure && sudo make install)
31+
luarocks --local install luarocks-build-rust-mlua-dev-1.rockspec
32+
cargo -V
33+
luarocks --local install lua-ryaml

0 commit comments

Comments
 (0)