Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
push:
branches: [main, core]
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
lint-test:
name: fmt + clippy + test (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: System deps (pinray, rdev)
run: |
sudo apt-get update
sudo apt-get install -y libpipewire-0.3-dev clang libx11-dev libxtst-dev libxi-dev
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all --check
- run: cargo clippy --workspace --all-targets -- -D warnings
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
Outdated
- run: cargo test --workspace

check:
name: check (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo check --workspace
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
/target

# local planning docs (not committed)
plan.md
plan-phases.md
handover.md
Loading
Loading