v0.2.4 #17
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install module | |
run: | | |
sudo apt update | |
sudo apt install -y git curl luarocks lua5.4 liblua5.4-dev | |
luarocks-5.4 --local install luarocks-build-rust-mlua-dev-1.rockspec | |
cargo -V | |
luarocks-5.4 --local install lua-ryaml | |
build_luarocks_3_12: | |
name: Build with luarocks 3.12 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install module using luarocks 3.12 | |
run: | | |
sudo apt update | |
sudo apt install -y git curl lua5.4 liblua5.4-dev | |
curl -L https://luarocks.github.io/luarocks/releases/luarocks-3.12.0.tar.gz | tar xz | |
(cd luarocks-3.12.0 && ./configure && sudo make install) | |
luarocks --local install luarocks-build-rust-mlua-dev-1.rockspec | |
cargo -V | |
luarocks --local install lua-ryaml |