Repository navigation
CI: shared gate workflow; FreeBSD nightly and on release - #2204
Conversation
…SD nightly and on release ci.yml is new: it calls the shared workflow (cached apt packages, nextest, main-only cache saves, Cargo.lock check). FreeBSD runs nightly and on pushes to release instead of on pull requests. Depends on storytold/craft-common-actions#69.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Since storytold#2204, ci.yml runs `cargo xtask ci` through craft-common-actions' shared gate on every pull request and push to main; gaps.md still listed "No CI gate on pull requests" as gap 4 and in the Stability row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds EffectCraft's first CI gate, through the suite's shared gate workflow, and takes the slow platform builds off the pull-request path. Depends on storytold/craft-common-actions#69; merge after it. Until then this PR's CI fails, because
gate.ymldoesn't exist yet.ci.ymlis new. It callsstorytold/craft-common-actions/.github/workflows/gate.yml@main, which runscargo xtask ciwith the cached apt install, nextest, rust-cache saved only from main (keyed on the rootCargo.toml, so profile changes start a fresh cache), and a check thatCargo.lockis unchanged. Every push to main runs to the end, and pushes to a PR branch cancel their older run. 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 libasound2-dev. These are the windowing, GL and font libraries thatrelease.yml's Linux build and the FreeBSD workflow install, plus ALSA for cpal (alsa-sysis inCargo.lock). The app has no craft-fonts pin, so the gate uses the suite default, asrelease.ymldoes.cargo xtask cibuilds clippy and the tests with--release(xtask/src/main.rs:412-413), which would take the gate about 1.5 hours and run into the 60-minute default timeout. The CI-speed PR moves it to the dev profile.freebsd.ymlalready ran nightly, on pushes toreleaseand on PRs that change the workflow or the FreeBSD packaging. Only the comment and the position of the schedule block change.windows-arm64.ymlis unchanged: it already runs nightly and on pushes torelease.A CI-speed PR for the
cargo xtask cispeed changes follows. Every craft app gets the same pair of PRs. Background: storytold/craft-common-actions#60.Summary by CodeRabbit