mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-20 17:06:42 +00:00
- xtask starts every cargo without the variables `cargo run` sets for xtask (CARGO_MANIFEST_DIR, CARGO_PKG_*, ...), so a build script that declares `rerun-if-env-changed` for them (ring) no longer reruns, with the whole craft facade above it, between builds inside and outside xtask. - `cargo xtask ci` splits into the gate's parts without a second step list: `lint` (fmt, egui-fork, clippy, layers, panel-commands, scorecard, wasm, i18n report), `archive` (test build into the nextest archive, doctests), `tests --from <dir>` (test and panic_hunt from the extracted archive, on $NEXTEST_PARTITION; --gpu / --no-gpu select by the gpu test group) and `build` (cache warm-up). Plain `cargo xtask ci` still runs every step. PHOTOCRAFT_CI_EXCLUDE leaves packages out of the test build and doctests. - The `ci` nextest profile's archive carries the xtask binary, so a shard builds nothing (scripts/ci-test-shard.sh). - Linux gate: lint leg, one build, four shards. Shard 1 runs the gpu group alone on lavapipe and checks its output (scripts/ci-gpu-lavapipe.py now wraps that run); the second GPU run and its rebuild are gone. - Windows unit, integration, clippy and warm legs move onto the shared gate (Windows runner, lint leg for Clippy, four shards), keeping the PR selection from the platforms job, rust-lld, /OPT:NOICF, /DEBUG:NONE and the D:\t target dir. - The slowest-tests-first priorities apply on Linux too. - Swatinem/rust-cache v2.9.3 by commit for this repository's own cache steps, with fresh keys; cache-version v2 for the gate and docs entries. `test (without heif)` restores the gate's entry through the shared action. Dispatch-only jobs no longer save caches no pull request reads; the quick perf suite restores perf-nightly's entry. - windows_delay_loads reads the app from NEXTEST_BIN_EXE_photocraft, as the other app tests do, since archives relocate binaries.