Skip to content

release: Ship a macOS x86_64 (Intel) DMG in the daily beta - #642

Merged
zackees merged 8 commits into
masterfrom
fix/628-macos-x86_64
Oct 13, 2026
Merged

zackees merged 8 commits into
masterfrom
fix/628-macos-x86_64

Conversation

@zackees

@zackees zackees commented Oct 13, 2026

Copy link
Copy Markdown
Member

Fixes #628. Part of #635.

The daily beta now also ships OBS-Studio-Rust-<ver>-macos-x86_64.dmg for Intel Macs.

Changes

  • release-rust.yaml:
    • Adds a macos/x86_64 build leg, cross-built on the arm64 macos-26 runner like the release gate.
    • Names artifacts obs-studio-rust-<os>-<target>, so the two macOS legs don't collide.
    • Picks the -intel.dmg for x86_64.
    • Lists the arch in the release notes.
  • libobs/cmake/rust-target.cmake: a new helper. rust.cmake uses it to set Rust_CARGO_TARGET from a single CMAKE_OSX_ARCHITECTURES. Corrosion defaulted to the host triple, so the first cross-build linked an aarch64 libobs_rust into an x86_64 libobs: Undefined symbols for architecture x86_64 (run 38469217720). The x86_64 leg runs rustup target add x86_64-apple-darwin.

Red → green

  1. ci/test_release_platforms.py: 3 failures on master (no macos/x86_64 leg, artifact name without the target, only -apple.dmg collected). Passes on this branch.
  2. ci/test_rust_cargo_target.py: with the stub helper, macos x86_64 → x86_64-apple-darwin and arm64 → aarch64-apple-darwin fail. They pass with the fix.
  3. A real build: run 38470447268 on the throwaway branch verify/628-macos-x86 (only this leg, publishing disabled) built, packaged and verified the x86_64 DMG with Rust linked in: success. The run before the CMake fix (38469217720) failed to link.

The local gate passed and is stamped. This branch touches the same workflow as #638, so whichever merges second needs a rebase.

@zackees zackees added the ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak label Oct 13, 2026
They merged before #640's uv-run lint, so master failed
ci/test_uv_run.py (14 bare python/python3 invocations). The release
jobs and the Windows packaging step set up uv first.

Local-Gate: v1 tree=96fadae29330eb7ef1a26e384a0e42b4da894b6d secs=436 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791929574,"gate":"rust/all/fmt","host":"linux-x86_64","key":"98e5815efde94ad2c6e3f3e4d2d04f3c60343b7b282e620e2566cd48f019657b","lane":"lint","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":20,"stamp":"1bb0fc25da11fe7389ed43be4bca3a30","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"98e5815efde94ad2c6e3f3e4d2d04f3c60343b7b282e620e2566cd48f019657b","lane":"lint","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":20,"stamp":"b0434e2b50b95964a871afa6cb59403c","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"acf047eb0a920e22ae27cb4b8b34857197b510e131cfc063e92730552f082eaa","lane":"rust-test","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":143,"stamp":"b81f7d68931308d854e873cfe0ae9792","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"03dc2a188609697b4b62e20d136c222f92e6d10e19e1624607325c6d9d2b5b76","lane":"cross","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":131,"stamp":"0825bfde2e54043df087d570cd94b426","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"03dc2a188609697b4b62e20d136c222f92e6d10e19e1624607325c6d9d2b5b76","lane":"cross","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":131,"stamp":"ac11b02dde3561cd5129e951bc72e389","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"03dc2a188609697b4b62e20d136c222f92e6d10e19e1624607325c6d9d2b5b76","lane":"cross","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":131,"stamp":"dd1fc48ce145389c7074682ce884e1b8","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"03dc2a188609697b4b62e20d136c222f92e6d10e19e1624607325c6d9d2b5b76","lane":"cross","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":131,"stamp":"2f4ca4272a2ae06bda504e45127d7391","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"03dc2a188609697b4b62e20d136c222f92e6d10e19e1624607325c6d9d2b5b76","lane":"cross","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":131,"stamp":"c700f982ad85daa1bc944fcddf1103ef","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"03dc2a188609697b4b62e20d136c222f92e6d10e19e1624607325c6d9d2b5b76","lane":"cross","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":131,"stamp":"c5d40b2bd5bdcb19f5b7be3cbf88d7b7","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
Ci-Attestation: {"at":1791929574,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"d69fd2bb433e90d912772e879493a62f3ef41b4e453d080b2e334c032da10867","lane":"tier2-linux","parents":["732dd565f7341a77c7bcc53311186fa1061a5795"],"secs":142,"stamp":"b35cc2e9fb1592a4b6dc734bc698cb9b","tree":"96fadae29330eb7ef1a26e384a0e42b4da894b6d","v":1,"via":"run"}
The release matrix builds only macos/arm64, so Intel Macs get no package (#628).
Adds a macos/x86_64 leg, cross-built on the arm64 runner like the
release gate, names artifacts per target so the two macOS legs don't
collide, and picks the -intel DMG for x86_64. Fixes #628.
…(RED)

Corrosion builds for the host triple, so the macOS x86_64 release leg,
cross-built on arm64, linked an aarch64 libobs_rust (run 38469217720).
Sets Rust_CARGO_TARGET from a single macOS architecture, and the release's
x86_64 leg adds the x86_64-apple-darwin standard library.

Local-Gate: v1 tree=9ca15731e0e19ec94bd049362f577c0bc7affcf7 secs=155 lanes=lint:reused@ffb8c0fddac0,rust-test:reused@bc53d39bc266,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791927012,"gate":"rust/all/fmt","host":"linux-x86_64","key":"ffb8c0fddac0abd2895a25be2a0c2e5adecff999a4e0e0e94574f9e397df12c4","lane":"lint","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":null,"stamp":"2af3ecfbd9bfb9379d5d638db7e194ae","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"reused"}
Ci-Attestation: {"at":1791927012,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"ffb8c0fddac0abd2895a25be2a0c2e5adecff999a4e0e0e94574f9e397df12c4","lane":"lint","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":null,"stamp":"2eb8007665777333c37d2a8dece7ac7e","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"reused"}
Ci-Attestation: {"at":1791927012,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"bc53d39bc266cb405662597f8ab76e3a9829501c91aa45029a5981fd47162bbb","lane":"rust-test","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":null,"stamp":"e045248f54052f1ea2f296a60329465d","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"reused"}
Ci-Attestation: {"at":1791927285,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"de5dde8a0e274b1c44df75b880955af885699111732d5bda05ea2e257a0bb6da","lane":"cross","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":29,"stamp":"2ef2d83e4db4aefd09228667adf0cb18","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"run"}
Ci-Attestation: {"at":1791927285,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"de5dde8a0e274b1c44df75b880955af885699111732d5bda05ea2e257a0bb6da","lane":"cross","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":29,"stamp":"871b1fda4af9a32194aedb14e3a93eac","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"run"}
Ci-Attestation: {"at":1791927285,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"de5dde8a0e274b1c44df75b880955af885699111732d5bda05ea2e257a0bb6da","lane":"cross","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":29,"stamp":"2ca7e30369b5206106e1c15ba34b8a71","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"run"}
Ci-Attestation: {"at":1791927285,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"de5dde8a0e274b1c44df75b880955af885699111732d5bda05ea2e257a0bb6da","lane":"cross","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":29,"stamp":"f9b9804aafd480510a4a60d7747eface","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"run"}
Ci-Attestation: {"at":1791927285,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"de5dde8a0e274b1c44df75b880955af885699111732d5bda05ea2e257a0bb6da","lane":"cross","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":29,"stamp":"0360a821ab0645dcab9ba73910984ff4","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"run"}
Ci-Attestation: {"at":1791927285,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"de5dde8a0e274b1c44df75b880955af885699111732d5bda05ea2e257a0bb6da","lane":"cross","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":29,"stamp":"f3467607b0ef9680b6a54eca54eeda90","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"run"}
Ci-Attestation: {"at":1791927285,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"029da482ded55576c515a431712236eea6c5b9cc6bc383b89b8d8cea6468fbc7","lane":"tier2-linux","parents":["7ee811a490d06b63a2620818ed950567cf6c87cd"],"secs":125,"stamp":"4b605aba8a1dfee9ad34226174fe76e7","tree":"9ca15731e0e19ec94bd049362f577c0bc7affcf7","v":1,"via":"run"}
#638's required-assets list predates the x86_64 leg.
Local-Gate: v1 tree=b3fe365896a99d179ecffe7d5b7be863ed11c135 secs=415 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791930016,"gate":"rust/all/fmt","host":"linux-x86_64","key":"b1d6be7cb69c18d5c5875eaf34c73baaf35ad1ed61802e0460b36edd6dc6075f","lane":"lint","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":35,"stamp":"3c2bd88d8d2ecda6293a76f48b864994","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"b1d6be7cb69c18d5c5875eaf34c73baaf35ad1ed61802e0460b36edd6dc6075f","lane":"lint","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":35,"stamp":"e716d84a3207ff1b56ea8b6cee4d327e","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"36d0f949447d2993b07f25045a5b9cfbb8cd79f5f75b98c5161c4e7890af6451","lane":"rust-test","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":137,"stamp":"55b638dfd5c8e49c81ab8829b2787526","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"3aaf57a121a6d104edbf476d8141f1c5af4908e52632d44f42a2b6325e2ee39e","lane":"cross","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":114,"stamp":"e7c7375d7e3463486c5b6805c9249d88","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"3aaf57a121a6d104edbf476d8141f1c5af4908e52632d44f42a2b6325e2ee39e","lane":"cross","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":114,"stamp":"13d77f61af9eba6f505bd0a2dc33ffa9","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"3aaf57a121a6d104edbf476d8141f1c5af4908e52632d44f42a2b6325e2ee39e","lane":"cross","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":114,"stamp":"f7ced137d5d65088174a6cd6af6e8899","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"3aaf57a121a6d104edbf476d8141f1c5af4908e52632d44f42a2b6325e2ee39e","lane":"cross","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":114,"stamp":"76431a42c7bc3c5b30587340672c0e07","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"3aaf57a121a6d104edbf476d8141f1c5af4908e52632d44f42a2b6325e2ee39e","lane":"cross","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":114,"stamp":"2e7534c8a0d26e128aef2196957cfd2f","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"3aaf57a121a6d104edbf476d8141f1c5af4908e52632d44f42a2b6325e2ee39e","lane":"cross","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":114,"stamp":"f307fe779888a6ca62704765b53c636f","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
Ci-Attestation: {"at":1791930016,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"d02248ff2ec873c081cdafca7a2e8b3a3971129fb2acdce9a9c64e6cce9fcdb1","lane":"tier2-linux","parents":["858325df559818d1d8dabd9b786acfa697320fc4"],"secs":128,"stamp":"e867f1f2592e3bf6c5570f0a1464244d","tree":"b3fe365896a99d179ecffe7d5b7be863ed11c135","v":1,"via":"run"}
@zackees
zackees force-pushed the fix/628-macos-x86_64 branch from f10c7bd to 10ff41a Compare October 13, 2026 22:20
@zackees

zackees commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

Rebased onto master after #638/#639/#640 and stacked on #647 (merge that first). Added RED→GREEN for #638's required-assets list: ci/test_release_platforms.py failed with macos-x86_64 missing from [...] until release_decision.required_assets listed OBS-Studio-Rust-<ver>-macos-x86_64.dmg. New tests use the uv run shebang. Local gate stamped.

@zackees
zackees merged commit 7740366 into master Oct 13, 2026
24 checks passed
@zackees
zackees deleted the fix/628-macos-x86_64 branch October 26, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

release: Ship a macOS x86_64 (Intel) build

1 participant