tools: test native-binary.sh's find_rustup PATH handling, and wire it into CI #504
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T22:24:13Z.
What
tools/macos/native-binary.sh'sfind_rustup(shared by native-setup.sh and run-native.sh) has three paths — rustup already on PATH, rustup only in CARGO_HOME/bin or Homebrew's keg-only opt dir (PATH gains it,rustup_foundnames the folder), and no rustup (returns 1) — and no test. The existingtools/macos/tests/harness covers its siblings (console-default, target-directory) but not this one, and ci.yml lists each test by name.What this changes
One change, tools-only: new
tools/macos/tests/rustup-path.shcovering the three paths with stub rustup binaries and a scratch CARGO_HOME/HOMEBREW_PREFIX, plus one step in.github/workflows/ci.ymlrunning it (Bash 3.2) next to the others.How it was tested
/bin/bash tools/macos/tests/rustup-path.shtools/macos/tests/*.sh+run-summary.sh --self-testcargo test -p victory-hle -p victory -p victory-gpu -p xtask, windows clippy gate,cargo xtask policy(no Rust change, run anyway)Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T22:24:19Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T22:24:29Z.
Claimed by @AnastasisKon. Open a draft pull request with
Refs #504in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:47:26Z.
/release - done: PR #505 is merged upstream (2026-11-28T01:37Z), so this one is finished on
mainitself, not only in my fork. Freeing the claim so the queue shows the truth.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T12:47:35Z.
Released. This issue is free to claim.