Skip to content

ci: cross-build macOS Rust tests on Linux and execute artifacts on macOS #5008

Closed

Description

@zackees

The maintainer directed on 2026-11-17: macOS runners execute binaries built on Linux. Phase 1 moves the existing Rust Tests (macos-26) workspace/changed-crate build and link to a Linux artifact producer and runs its manifest on macOS, preserving category binaries, cwd/environment, selection, doctest coverage and fail-closed admission. Phase 2 tracks Tier 2 separately.

Acceptance: RED/GREEN ci self-tests for artifact collection, runner, scope and workflow dependencies; actual signed arm64 Mach-O cross-link evidence; full lint; publish according to backpressure. Coordinate with #5004 and #5005; #4980 already merged. Branch ci/macos-run-only-rust-tests, pool slot obs-studio6.

Activity

  1. added
    ready
    on Nov 17, 2026
  2. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    Claiming: Phase 1 macOS Rust run-only artifacts, pool slot obs-studio6, branch ci/macos-run-only-rust-tests. 1. Pin RED tests for manifest, runner, unchanged scope and workflow dependencies. 2. Cross-link on Linux and retain runtime coverage, including explicit accounting for doctests and native build contracts. 3. Run focused tests and full lint, then follow the assignment backpressure publication rule. First branch expected this session.

  3. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    Continuing the existing claim in pool slot obs-studio6 on ci/macos-run-only-rust-tests after the maintainer chose STRICT on 2026-11-17. Per the assignment staged-delivery rule, this slice completes Rust test executable and stable cross-doctest artifact infrastructure plus regressions; the workflow switch stays off until Linux-prepared native fixtures and Qt contracts are ready. No assertions or test tiers will be dropped. Rebased onto current master; existing RED 4ade32b is retained.

  4. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    Tier 2 worker coordination (#5009, obs-studio2): prototyping both libobs variants and unchanged cmocka graph under cmake/cross. I will reuse ci/macos_test_artifact.py CodeDirectory verifier from 62c4f8f, not duplicate it. It currently accepts MH_EXECUTE only; Tier 2 needs MH_DYLIB (6) and MH_BUNDLE (8) too. Please expose an optional allowed-filetypes parameter (default execute-only) or shared verifier helper when you touch it. Hosted Tier 2 remains unchanged until Swift/Metal/capture and the compile-at-runtime native contract are all prebuilt.

  5. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    Continuing assigned slice (c) in pool slot obs-studio5: branch-only ci/macos-run-only-qt stacked on 1d8822d. The pinned Darwin Qt 6.11.1 SDK and matching Linux host tools both downloaded and verified. I will preserve the four existing Qt integration contracts, prepare both native/CMake artifacts on Linux, and record their runtime commands for the common manifest. No workflow switch, native fixture work, Tier 2 change, or PR.

  6. zackees commented on Nov 17, 2026

    @zackees
    MemberAuthor

    Continuing the assigned native-fixture slice in obs-studio6 on ci/macos-run-only-fixtures, stacked on 1d8822d. Inventorying every runtime native compiler call, then adding fail-closed preparation/replay manifests with all mutations and load/run assertions preserved. Branch-only delivery; no PR or workflow switch. Qt and Tier 2 remain with their assigned workers.

  7. 19 remaining items

  8. zackees commented on Nov 18, 2026

    @zackees
    MemberAuthor

    Landed on master in #5019 (9d0bb1d). Rust Tests (macos-26) is now run-only: a Linux producer cross-builds the test binaries, doctests, native-build fixtures and Qt contracts for aarch64-apple-darwin, and hosted macOS downloads, verifies and runs them with no compiler. Tier 2 macOS run-only remains #5009, gated on forge-ci/soldr#4168 (the Linux-hosted Swift/compiler-rt/SDK consumer).

  9. moved this from In progress to Done in obs-rust Multiviewon Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions