mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
* ci: add WSL2 backend checks * ci: fix WSL2 backend job by keeping MSVC toolchain on native temp - compile test binaries before pointing TEMP/TMP at the WSL2 UNC path (mt.exe fails with c1010070/LNK1327 when TEMP is a UNC path) - inject WSL2 TEMP/TMP per test step instead of via GITHUB_ENV - use --tests so doctests cannot trigger link steps under the UNC temp - run the filesystem contract gate before the full serial suite - drop fmt/clippy steps duplicated from the existing Windows job * ci: move full WSL2 suite to nightly, keep per-PR contract gate - the full serial suite needs 50+ minutes on the 9P filesystem (2026/2343 lib tests finished in 39.5min before the 45min timeout) - per-PR job now runs only the atomic-write contract (~6min total) and builds just the lib test binary via --lib - new nightly workflow (schedule + workflow_dispatch, 90min timeout) runs the contract plus the full serial suite on the WSL2 home --------- Co-authored-by: Jason <farion1231@gmail.com>