File tree Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,30 @@ on: [push, pull_request]
4
4
jobs :
5
5
build :
6
6
name : Build
7
- runs-on : ${{ matrix.os }}
8
- strategy :
9
- matrix :
10
- os : [ubuntu-24.04]
11
- lua : [lua54]
7
+ runs-on : ubuntu-latest
12
8
steps :
13
9
- uses : actions/checkout@main
14
10
- uses : dtolnay/rust-toolchain@stable
15
- - name : Install ${{ matrix.lua }} module
11
+ - name : Install module
16
12
run : |
17
13
sudo apt update
18
14
sudo apt install -y git curl luarocks lua5.4 liblua5.4-dev
19
15
luarocks-5.4 --local install luarocks-build-rust-mlua-dev-1.rockspec
20
16
cargo -V
21
17
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
You can’t perform that action at this time.
0 commit comments