31 lines
561 B
YAML
31 lines
561 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container: git.seanomik.net/seanomik/rust-nightly:2023-11-21-bookworm
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Install system dependencies
|
|
run: |
|
|
apt update
|
|
apt install libudev-dev lua5.4 liblua5.4-dev -y
|
|
|
|
- name: Build
|
|
run: |
|
|
cargo build
|
|
|
|
- name: Test
|
|
run: |
|
|
cargo test --all |