Krolyxon
Commit 090b358

Branches

Refs →

budctl.githubworkflowsci.yml

25 lines · 843 B · YAML

1name: CI
2
3# Formatting, lints and tests on every push to master and every pull request.
4
5on:
6 push:
7 branches: [master]
8 pull_request:
9
10jobs:
11 check:
12 runs-on: ubuntu-22.04
13 steps:
14 - uses: actions/checkout@v6
15 - uses: dtolnay/rust-toolchain@stable
16 with:
17 components: clippy, rustfmt
18 targets: aarch64-linux-android
19 - run: sudo apt-get update && sudo apt-get install -y pkg-config libwayland-dev libxkbcommon-dev
20 - run: cargo fmt --all -- --check
21 - run: cargo clippy --workspace --all-targets --locked -- -D warnings
22 # The core also goes into the Android app (docs/android.md). A check needs no NDK.
23 - run: cargo clippy -p budctl-core --target aarch64-linux-android --locked -- -D warnings
24 - run: cargo test --workspace --locked
25 - run: sh -n install.sh