mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-26 15:26:09 +00:00
The GUI crate links fontconfig (via Slint); the runner image lacks the -dev package, so the first CI run since Actions was enabled failed in yeslogic-fontconfig-sys's build script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011GZUAGhGYoiLvmfXweQnDY
23 lines
669 B
YAML
23 lines
669 B
YAML
name: ci
|
|
on:
|
|
pull_request:
|
|
branches: [development]
|
|
push:
|
|
branches: [development, main]
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Shell syntax
|
|
run: for f in spikes/*.sh; do bash -n "$f"; done
|
|
- name: System libraries for the GUI (Slint needs fontconfig headers)
|
|
if: hashFiles('Cargo.toml') != ''
|
|
run: sudo apt-get update -qq && sudo apt-get install -y -qq libfontconfig-dev
|
|
- name: Rust (once a Cargo workspace exists)
|
|
if: hashFiles('Cargo.toml') != ''
|
|
run: |
|
|
cargo fmt --check
|
|
cargo clippy -- -D warnings
|
|
cargo test
|