Repository navigation
ci: Set Up soldr in the macOS and Windows app builds (#2699) - #2701
Conversation
) `test_soldr_rustup` only pinned the text of the `soldr rustup` commands, so #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.
Both jobs ran `soldr rustup toolchain install` with no soldr on PATH (RUST-001/TOOL-001 rewrite in #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.
|
Dispatched
Holding the draft until those three finish; this is a release-gating workflow change, so it stays mine through the merge rather than going to the coordinator at the queue. |
Scheduled verification — the two lanes this PR changes are green
That is the RED→GREEN this fixes: on run 40585658256 (branch The other two red jobs in that run are inherited from master, not from this diff
|
Fixes #2699
The release-gating OBS app builds are red on master:
macos-buildandwindows-buildrunsoldr rustup toolchain installbut nothing in either job installs soldr, so they die on the first Rust step (command not found: soldron macOS,The term 'soldr' is not recognizedon Windows) and no DMG/zip is built. #2650 (merged 15:16Z today) made that rewrite; the previous release-gate run at 15:15Z checked out the commit before it and built fine.PR CI cannot see this — no PR path builds the OBS app, and
Pushbuilds none either. OnlyScheduled/dispatch/the release gate do.RED —
ed09fedb3ci/test_soldr_rustup.pyonly pinned the text of the commands, so it passed while the jobs could not run them. The new case walksbuild-project.yamljob by job:soldrsubcommand must contain azackees/setup-soldrstep earlier in the same job;macos-buildandwindows-buildare named explicitly (they are the two jobs no PR lane can run);soldr rustup toolchain installmay not come back (setup-soldr provisions the pinned toolchain).ci/test_rust_cache_policy.py's setup-soldr consumer count goes 8 -> 10 for the two steps the fix adds.Against master's workflow, 4 cases fail:
GREEN —
c77693806Mirrors
release-rust.yaml's app-build job (the existing precedent for an app build on these runners):Set Up soldr 🦀in both jobs:zackees/setup-soldr@71e6b565(v0.9.88),verdict-scope: build-project(the repo pin),version: 0.9.43,build-cache: false,prebuild-deps-flags: --release(same cook as the tier-2 and release app jobs),save-cache-remotemaster-only,shims: true,solo-toolchain-cache: false.if:instead of an inline shell test:Add the Rust x86_64 macOS target 🦀(matrix.target == 'x86_64') andAdd the Rust arm64 Windows target 🦀(matrix.architecture == 'arm64').Local checks
uv run python -m unittest ci.test_soldr_rustup ci.test_rust_cache_policy— 8 cases OK after the fix, 4 failing before it../lint—== lane lint: ok (50.9s).macos-build/windows-buildstep order is… Set Up soldr 🦀 → Add the Rust … target 🦀 → Build OBS Studio 🧱.Scheduled verification — GREEN
workflow_dispatchofScheduled Repository Actionson this branch (run 40591042433) built on all four app legs:Build 🧱 / macOS 🍏 (arm64)— successBuild 🧱 / macOS 🍏 (x86_64)— successBuild 🧱 / Windows 🪟 (x64)— successBuild 🧱 / Windows 🪟 (arm64)— successEach proceeds
Set Up soldr 🦀→Add the Rust … target 🦀→Build OBS Studio 🧱. On run 40585658256 (branchinfra/2695, before this fix) exactly these three lanes failed atcommand not found: soldr.The other two red jobs in that dispatched run are inherited from master and unrelated to this diff:
Ubuntu 🐧 (OBS-Studio-Rust)andFlatpak 📦both die compilingshared/obs-scripting/*.c.hunder-Werror=missing-prototypes(added tree-wide by #2678; #2696 exempted only-Wpedantic).CEF Chromium Support 🌐fails by design while CEF 7871 lags Chrome's extended stable (#1864).