Repository navigation
ci: install the Rust toolchain through soldr rustup in build-project.yaml (#962) - #2650
Merged
Merged
Conversation
… (RED) (#962) The macos-build and windows-build jobs install the toolchain and cross-target std libs with bare `rustup`, which bypasses Soldr's Rust toolchain wrapper (ci-lint RUST-001/TOOL-001). This test scans the workflow for a bare `rustup` token and fails on master.
…yaml (#962) The macos-build and windows-build jobs ran bare `rustup toolchain install` and `rustup target add` for the cross-target standard library. That bypasses Soldr's Rust toolchain wrapper, so the pinned toolchain, its cache and the Dylint wiring do not apply (ci-lint RUST-001/TOOL-001). Wrap each call in `soldr rustup …`, the form release-rust.yaml already uses.
zackees
enabled auto-merge
October 27, 2026 15:07
This was referenced Oct 27, 2026
MCPVOT
pushed a commit
to MCPVOT/obs-studio
that referenced
this pull request
Oct 30, 2026
…bs-rust#2701) * ci: Pin that build-project installs soldr before any job calls it (obs-rust#2699) `test_soldr_rustup` only pinned the text of the `soldr rustup` commands, so obs-rust#2650 could move the toolchain step to soldr in `macos-build` and `windows-build` without those jobs having a soldr to call: both app builds then failed with `command not found: soldr` / `The term 'soldr' is not recognized`. The new case walks the workflow job by job and fails any job that invokes a `soldr` subcommand without a `zackees/setup-soldr` step earlier in the same job, and pins that setup-soldr (which provisions the pinned toolchain) is the only place the toolchain is installed. `test_rust_cache_policy`'s consumer count goes 8 -> 10 for the two setup-soldr steps the fix adds. Fails on master at macos-build and windows-build. * ci: Set Up soldr in the macOS and Windows app builds (obs-rust#2699) Both jobs ran `soldr rustup toolchain install` with no soldr on PATH (RUST-001/TOOL-001 rewrite in obs-rust#2650), so the release-gating OBS app builds died at that step and the DMG/zip were never built. Mirror release-rust.yaml's app-build job: `zackees/setup-soldr` provisions the rust-toolchain.toml toolchain (and cooks the workspace deps the app build compiles anyway), then only the matrix-guarded cross-target `soldr rustup target add` remains. Local: ./lint ok, ci/test_soldr_rustup.py + ci/test_rust_cache_policy.py ok.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #962 (ci-lint burn-down).
build-project.yaml'smacos-buildandwindows-buildjobs install thetoolchain
rust-toolchain.tomlpins and add a cross-target standard librarywith bare
rustup:That bypasses Soldr's Rust toolchain wrapper, so the pinned toolchain, its
cache and the Dylint wiring do not apply. ci-lint reports it twice per site —
RUST-001andTOOL-001— for four findings againstorigin/master.Fix
Wrap each call in
soldr rustup …, the sanctionised formrelease-rust.yamlalready uses for the same cross-target installs (
soldr rustup target add …).RED / GREEN
RED (on
origin/master,db777d5fc):GREEN (this branch):
The RED commit (
7b9a9316c) addsci/test_soldr_rustup.py, which scansbuild-project.yamlfor a barerustuptoken and for the twosoldr rustup …installs; it fails on master's workflow and the GREEN commit (22840fd08)makes it pass.
Local checks on this branch (all green):
No
docs/features.mdline: this is a CI/wiring change with no user-visiblebehaviour. No
plugins/obs-websocketpointer change (git diff origin/master --stattouches only the workflow and the new test).