Repository navigation
infra: Release workflow for OBS-Studio-Rust app builds - #215
Merged
Merged
Conversation
push.yaml's tag pipeline is upstream OBS's: it ships the ENABLE_RUST_LIBOBS=OFF builds, takes only OBS version tags, and its create-release job waits on Windows signing that only runs under obsproject. release-rust.yaml is a workflow_dispatch that: - checks the version against rust/libobs-rust/Cargo.toml and that the obs-studio-rust-v<version> tag is free; - builds Linux x86_64, macOS arm64 and Windows x64 the way obs-rust/obs-smoke does (ENABLE_RUST_LIBOBS default flipped to ON, same soldr as CI); - fails unless libobs contains Rust code and the Linux build reports "OBS-Studio-Rust <version>"; - with publish (the default), creates an unsigned pre-release with the three packages and SHA256SUMS. The release creates the tag, so push.yaml's tag pipeline doesn't start; publish=false is a full dry run. Fixes #214 Local-Gate: v1 tree=c88009c3d7f390aec7913d20a04f1f07c0ca82f1 secs=110 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791702999,"gate":"rust/all/fmt","host":"linux-x86_64","key":"3f8e4d48a82be15a745f35b7375ac89d97189d1979d5c54b0fbfee66c400374c","lane":"lint","parents":["ce08e85d949038f4455298218f6e416584105106"],"secs":15,"stamp":"a1271225616fbf74bb736f86cd4b499b","tree":"c88009c3d7f390aec7913d20a04f1f07c0ca82f1","v":1,"via":"run"} Ci-Attestation: {"at":1791702999,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"3f8e4d48a82be15a745f35b7375ac89d97189d1979d5c54b0fbfee66c400374c","lane":"lint","parents":["ce08e85d949038f4455298218f6e416584105106"],"secs":15,"stamp":"59b77b2c730aadeaf2de583b9abe7837","tree":"c88009c3d7f390aec7913d20a04f1f07c0ca82f1","v":1,"via":"run"} Ci-Attestation: {"at":1791702999,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"bce48527427fe222dab4134237ee291f818ae26ac5ce1c96f6504f9d215c4c09","lane":"rust-test","parents":["ce08e85d949038f4455298218f6e416584105106"],"secs":30,"stamp":"e2600d93dc82bbba906b2a6eec487b18","tree":"c88009c3d7f390aec7913d20a04f1f07c0ca82f1","v":1,"via":"run"} Ci-Attestation: {"at":1791702999,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"e97cbb58f40bc5612ca556e630e881afc714f7b13f0ce1a58e00adff6df99041","lane":"tier2-linux","parents":["ce08e85d949038f4455298218f6e416584105106"],"secs":65,"stamp":"131e4f3592a1d616d063e88890748f8d","tree":"c88009c3d7f390aec7913d20a04f1f07c0ca82f1","v":1,"via":"run"}
Runs daily (09:00 UTC) and on demand with no inputs. Tags obs-studio-rust-v<crate version>-beta.<YYYYMMDD>, skips a day that already has one, and ships whichever platforms built and verified; it fails only if none did. Refs #214 Local-Gate: v1 tree=f560bcd7434661ce5ddf087ad85cf04222766ccf secs=142 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791704427,"gate":"rust/all/fmt","host":"linux-x86_64","key":"6f3d0266fe37163431433ca3d2b30080f48d7392f6d4cfb7ee719f1553cde57b","lane":"lint","parents":["4272b8aaa80bd3c0ce6d9d27566748fc67f7c647"],"secs":65,"stamp":"dfa2da23477f69e160898063007eb327","tree":"f560bcd7434661ce5ddf087ad85cf04222766ccf","v":1,"via":"run"} Ci-Attestation: {"at":1791704427,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"6f3d0266fe37163431433ca3d2b30080f48d7392f6d4cfb7ee719f1553cde57b","lane":"lint","parents":["4272b8aaa80bd3c0ce6d9d27566748fc67f7c647"],"secs":65,"stamp":"c5006415069523678e4a00c751a04057","tree":"f560bcd7434661ce5ddf087ad85cf04222766ccf","v":1,"via":"run"} Ci-Attestation: {"at":1791704427,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"d3dd31d9d12cbfbe21eee142c7702308e6e748f8ca5ba7ce6e2425b60b1560d7","lane":"rust-test","parents":["4272b8aaa80bd3c0ce6d9d27566748fc67f7c647"],"secs":24,"stamp":"2c80341527f8657036c0e27eedcbf894","tree":"f560bcd7434661ce5ddf087ad85cf04222766ccf","v":1,"via":"run"} Ci-Attestation: {"at":1791704427,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"ba9cb4f91b501ddf503ddcd18ec0b11195da57217bb958690574a6b7e044944a","lane":"tier2-linux","parents":["4272b8aaa80bd3c0ce6d9d27566748fc67f7c647"],"secs":52,"stamp":"b672dda32d570948f649c4ff8cdb1bcf","tree":"f560bcd7434661ce5ddf087ad85cf04222766ccf","v":1,"via":"run"}
zackees
added a commit
to rdoupe/obs-studio
that referenced
this pull request
Oct 11, 2026
The release workflow (obs-rust#215) tags obs-studio-rust-v*, and obs-stream-rust has its own v* tags. versionconfig.cmake runs git describe --tags, which picks the nearest tag of any name, so every macOS build now fails with 'VERSION "obs-studio-rust-v0.1.0" format invalid'. test_newer_rust_app_tags_are_ignored gets 'obs-stream-rust-v0.1.0' instead of 33.0.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Fixes #214.
Adds
.github/workflows/release-rust.yaml: a relaxed daily beta release of OBS-Studio-Rust. The existing tag pipeline (push.yaml) ships Rust-off builds and needs Windows signing that only runs underobsproject, so it can't do this.gh workflow run release-rust.yaml.obs-studio-rust-v<rust/libobs-rust version>-beta.<YYYYMMDD>. If today's tag already exists, the run skips.ENABLE_RUST_LIBOBSon, same soldr as CI). Each platform checks that libobs contains Rust code, and Linux also checks--version.SHA256SUMS. The release fails only if nothing built.push.yaml's upstream tag pipeline doesn't start.New workflow file, added at the maintainer's request.