36 lines
698 B
YAML
36 lines
698 B
YAML
name: CI
|
|
|
|
env:
|
|
# Runners don't expose the TSC but we want to make sure these tests work, so we
|
|
# can ignore it.
|
|
TRACY_NO_INVARIANT_CHECK: 1
|
|
|
|
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 |