Skip to content

infra: Release workflow for OBS-Studio-Rust app builds - #215

Merged
zackees merged 2 commits into
masterfrom
infra/release-rust
Oct 11, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/release-rust

Conversation

@zackees

@zackees zackees commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

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 under obsproject, so it can't do this.

  • When: daily at 09:00 UTC, or on demand with gh workflow run release-rust.yaml.
  • Tag: obs-studio-rust-v<rust/libobs-rust version>-beta.<YYYYMMDD>. If today's tag already exists, the run skips.
  • Builds: Linux x86_64 .deb, macOS arm64 .dmg and Windows x64 .zip, built the way obs-rust/obs-smoke builds them (ENABLE_RUST_LIBOBS on, same soldr as CI). Each platform checks that libobs contains Rust code, and Linux also checks --version.
  • Relaxed: a platform that fails to build or verify is left out, and the rest ship as an unsigned pre-release with SHA256SUMS. The release fails only if nothing built.
  • Tag pipeline: the release creates the tag itself, so push.yaml's upstream tag pipeline doesn't start.

New workflow file, added at the maintainer's request.

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
zackees merged commit 53caae8 into master Oct 11, 2026
10 checks passed
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]>
@zackees
zackees deleted the infra/release-rust branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

infra: Release workflow for OBS-Studio-Rust app builds

1 participant