Skip to content

Commit

Permalink
Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khvzak committed Oct 26, 2024
1 parent f4b82c6 commit 3373637
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3373637

Please sign in to comment.