mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-24 19:42:40 +01:00
Measured (release, 120 s 48 kHz stereo): decode WAV 129 ms, Ogg 147 ms, MP3 99 ms; export_audio 95 ms at 48 kHz, 128 ms resampled to 44.1 kHz (about 1000x real time).
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
name: CI
|
|
|
|
# Quality gates for every push to main and every pull request, through the
|
|
# suite's shared gate workflow in craft-common-actions.
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
# A newer push to a PR branch cancels its older run; every push to main runs to the end.
|
|
concurrency:
|
|
group: ci-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
gate:
|
|
# Tracks @main so suite-wide CI fixes reach every app without a PR in each repository.
|
|
uses: storytold/craft-common-actions/.github/workflows/gate.yml@main
|
|
with:
|
|
# Same craft-fonts commit as release.yml.
|
|
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
|
|
packages: >-
|
|
libxkbcommon-dev libwayland-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev
|
|
libgtk-3-dev libasound2-dev
|
|
command: cargo test --workspace && cargo clippy --workspace --all-targets -- -D warnings
|