Repository navigation
ci: Build the Ubuntu app with ENABLE_RUST_LIBOBS=ON and smoke test it - #167
Merged
Merged
Conversation
No CI job or release built the real app with the Rust libobs: the full builds and publish.yaml use the default (OFF), and only the cmocka Tier 2 harnesses build ON, so the ported code had never run inside OBS. Add a rust: [OFF, ON] axis to ubuntu-build (build-ubuntu honors ENABLE_RUST_LIBOBS), keep the ccache and artifact names apart, and smoke test the ON build: the installed obs --version must print OBS-Studio-Rust, which only a Rust libobs build does (#112). Refs #140 Co-Authored-By: Claude Opus 5.5 <[email protected]> Local-Gate: v1 tree=8f47fd989c5a00475c8cffaaa653e52c5d669d3c secs=86 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791675987,"gate":"rust/all/fmt","host":"linux-x86_64","key":"caed603f3c8a3432c3c85a9ba7904b3ca556525bf7d94a5fdc27a19d34ca770e","lane":"lint","parents":["faaca71086cff4fed3c2d807d98cb98e8e109ab4"],"secs":17,"stamp":"4ebfbcf542674ef3bf24eb3110be73fd","tree":"8f47fd989c5a00475c8cffaaa653e52c5d669d3c","v":1,"via":"run"} Ci-Attestation: {"at":1791675987,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"caed603f3c8a3432c3c85a9ba7904b3ca556525bf7d94a5fdc27a19d34ca770e","lane":"lint","parents":["faaca71086cff4fed3c2d807d98cb98e8e109ab4"],"secs":17,"stamp":"1a81711abcd435b4c096816e76678b9c","tree":"8f47fd989c5a00475c8cffaaa653e52c5d669d3c","v":1,"via":"run"} Ci-Attestation: {"at":1791675987,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"d6638afea8ea44f26a8378fe1b938f97a2fd367590dd3c24bd9ee61a40b098c7","lane":"rust-test","parents":["faaca71086cff4fed3c2d807d98cb98e8e109ab4"],"secs":37,"stamp":"e9e196ae57c1ade22b877746e833074a","tree":"8f47fd989c5a00475c8cffaaa653e52c5d669d3c","v":1,"via":"run"} Ci-Attestation: {"at":1791675987,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"27d2cac0c85813072ae7e008fc8e8cf07f906ed27f23d7ab1ed0fd217cb1682c","lane":"tier2-linux","parents":["faaca71086cff4fed3c2d807d98cb98e8e109ab4"],"secs":31,"stamp":"4b1516048525c6f50c1a51e6586f5259","tree":"8f47fd989c5a00475c8cffaaa653e52c5d669d3c","v":1,"via":"run"}
This was referenced Oct 11, 2026
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 #140 (this is the first step; the Tier 4 run and the macOS/Windows variants follow).
No CI job and no release built the real app with
ENABLE_RUST_LIBOBS=ON. The full builds andpublish.yamluse the default (OFF). Only the cmocka Tier 2 harnesses build ON. So the ported Rust code had never run inside OBS itself.Change (edits the existing
build-project.yaml; no new workflow file).github/scripts/build-ubuntuhonorsENABLE_RUST_LIBOBS=ONand passes-DENABLE_RUST_LIBOBS:BOOL=ON.ubuntu-buildgains arust: ['OFF', 'ON']matrix axis. The job name, ccache key and artifact names are kept separate for the ON variant (obs-studio-ubuntu-26.04-rust-…).obs --versionand requires it to start withOBS-Studio-Rust. Only a Rust-libobs build names itself that (frontend: name the Rust build OBS-Studio-Rust and show its own version #112). The check proves the frontend, plugins and libobs all built and linked against the Rust staticlib, and that the binary runs.Evidence
This change is the test. The new ON job must go green in this PR's CI (it runs because the PR edits a workflow). If the frontend or plugins fail to build or link with the Rust staticlib, the job fails.
Cost: one more Ubuntu build per native PR.