From 3373637884d2690cca764fa32b4d9b73a96ded47 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Sun, 27 Oct 2024 00:30:19 +0200 Subject: [PATCH] Add github workflow --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..172bc0a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: CI +on: [push, pull_request] + +jobs: + build: + name: Build + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-24.04] + lua: [lua54] + steps: + - uses: actions/checkout@main + - uses: dtolnay/rust-toolchain@stable + - name: Install ${{ matrix.lua }} 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 + shell: bash