fix(ci): keep static invariants script free of full crate builds

Keep check-invariants.sh as a fast static gate so fast-lane runners without
native GUI system libraries do not compile full client crates. Cargo metadata
and client-compat.mjs already enforce the adapter dependency boundary.
This commit is contained in:
DarkSky committed 2026-12-05 23:16:16 +09:00
1 parent 3a5b980fe5
commit 7d5e6f36fb
1 file changed
-4
@@ -802,8 +802,4 @@ fi
echo "==> Checking snapshot prefix liveness"
node "$SCRIPT_DIR/check-snapshot-prefixes.mjs" --source-only
echo "==> Checking core builds without the compatibility adapter"
CARGO_ENCODED_RUSTFLAGS="" cargo check --locked -p affine-store -p affine-client -p affine-desktop -p affine-mobile
CARGO_ENCODED_RUSTFLAGS="" cargo check --locked -p affine-store -p affine-client -p affine-desktop -p affine-mobile --target wasm32-unknown-unknown
echo "All invariants passed."