Skip to content

Commit 3373637

Browse files
committed
Add github workflow
1 parent f4b82c6 commit 3373637

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
name: Build
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-24.04]
11+
lua: [lua54]
12+
steps:
13+
- uses: actions/checkout@main
14+
- uses: dtolnay/rust-toolchain@stable
15+
- name: Install ${{ matrix.lua }} module
16+
run: |
17+
sudo apt update
18+
sudo apt install -y git curl luarocks lua5.4 liblua5.4-dev
19+
luarocks-5.4 --local install luarocks-build-rust-mlua-dev-1.rockspec
20+
cargo -V
21+
luarocks-5.4 --local install lua-ryaml
22+
shell: bash

0 commit comments

Comments
 (0)