Files
lightcraft/.github/workflows/ci.yml
T
FredApps ffb79a6c03 CI: keep the gate timeout at 80 min (30 cuts off green runs)
Reverts 0b5c6ff46. A green gate run takes about 40 min, so a 30 min
watchdog kills healthy runs (run 42015761190 timed out at 30:00).
2026-11-05 13:01:28 +01:00

36 lines
1.4 KiB
YAML

name: CI
# Quality gates for every push to main and every pull request (`cargo xtask ci`), 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
timeout-minutes: 90
# A green run takes about 40 min. A hung test is stopped at 80 min, so the log lists the
# processes still running and the leg fails as timed out instead of being cancelled at 90.
gate-timeout-minutes: 80
# xtask ci runs cargo test: the demo scene cache is per process, so nextest is slower here.
tools: ""
packages: >-
pkg-config libxkbcommon-dev libwayland-dev libx11-dev libxcb1-dev libxcursor-dev
libxrandr-dev libxi-dev libfontconfig1-dev libfreetype-dev mesa-vulkan-drivers
libgl1-mesa-dev libdbus-1-dev