CI: only the mod on push (1 job, low priority); the game on demand, refused when the disk is low
build / mod (push) Successful in 5m9s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 12:01:08 +03:00
parent 2b5ad8d888
commit 1ba57ee465
14 changed files with 190 additions and 63 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ def mod():
if not Path(tool).exists():
if not (FORK / "Cargo.toml").exists():
fork()
run([cargo(), "install", "--locked", "--path", FORK / "crates" / "cargo-horizon-mod"])
# Without trial runs (wasmtime): building a mod needs only packing, a fraction of the compile.
run([cargo(), "install", "--locked", "--no-default-features", "--path", FORK / "crates" / "cargo-horizon-mod"])
run([cargo(), "horizon-mod", "build"], cwd=ROOT / "airdef-mod")