Skip to content

ci: Move Flatpak and the native builds into the release gate - #440

Merged
zackees merged 3 commits into
masterfrom
ci/436-release-gate
Oct 13, 2026
Merged

zackees merged 3 commits into
masterfrom
ci/436-release-gate

Conversation

@zackees

@zackees zackees commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Closes #436. Attestation follow-up: #443.

Every PR and master push (Linux, always): Format, validators, CI Mode/attestation, the Ubuntu OBS build, Rust Tests (Linux) and Rust Tier 2 Linux. The last two are skipped when locally attested (GATE-008/010).

Added by scope (ci/ci_scope.py, unit-tested in ci/test_ci_scope.py):

  • core code (libobs/, rust/, Cargo files) → the Ubuntu Rust-libobs OBS build;
  • macOS code (*.m/*.mm, mac-*, cocoa/apple/darwin/coreaudio paths, cmake/macos, Rust src/platform/unix) → macOS OBS build (arm64 only), Rust Tests macOS, Tier 2 macOS;
  • Windows code (win-*, windows/win32/wasapi/d3d* paths, *.rc, cmake/windows, deps/w32-pthreads, Rust src/platform/windows) → Windows OBS build (x64 only), Rust Tests Windows, Tier 2 Windows;
  • shared build/CI config (.github/, cmake/common, root CMakeLists.txt, buildspec.json, Rust platform/mod.rs) → both platforms.

Attesting platform changes locally, so they can skip CI, needs native lanes and per-platform jobs; that's #443.

Release gate (full): release-rust.yaml's new gate job runs everything (Flatpak, both architectures per platform, Rust libobs, Tier 2 on all OSes) at the candidate SHA, and release needs it green. The same runs for tags, release/**, schedule, workflow_dispatch and the ci-full label.

AppImage: no longer runs per master push; the daily release refreshes continuous (publish_continuous). Caches: saved on any non-PR run on master, so the gate keeps them warm.

Typical Linux/core PR: about 3 min critical path, no macOS slot, versus 10–12 min and 5 macOS slots before. This PR touches .github/, so it correctly runs both platforms; it isn't the typical case. Commits: RED ci/test_ci_scope.py, then GREEN. actionlint is clean, and the local gate passed and is stamped.

PRs and master pushes (the dev cycle) keep format, validators, Rust tests
on all three OSes, Tier 2 Linux and one Ubuntu OBS build. Flatpak, the
macOS/Windows OBS builds, Ubuntu with Rust libobs and Tier 2
macOS/Windows run only when build-project is full: the release gate
(release-rust.yaml, which now won't publish unless that run is green),
tags, release branches, schedule, workflow_dispatch and the ci-full
label.

appimage.yaml no longer runs per master push; the daily release's call
refreshes the continuous pre-release instead. Cache saves move from
master pushes to any non-PR run on master, so the gate keeps them warm.

Closes #436

Local-Gate: v1 tree=4ce038d8c863af4933c69b42abfa48ceaada433f secs=239 lanes=lint:run,rust-test:run,tier2-linux:run
Ci-Attestation: {"at":1791861450,"gate":"rust/all/fmt","host":"linux-x86_64","key":"9ae23a8716335379aa493cf20e4e4a45f600adcd7dfb42e96f5d0679e04d5d85","lane":"lint","parents":["e688393a35ec04d57d895709b58acf93fde29bc9"],"secs":112,"stamp":"039a889ae1a012db89041716c25ab223","tree":"4ce038d8c863af4933c69b42abfa48ceaada433f","v":1,"via":"run"}
Ci-Attestation: {"at":1791861450,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"9ae23a8716335379aa493cf20e4e4a45f600adcd7dfb42e96f5d0679e04d5d85","lane":"lint","parents":["e688393a35ec04d57d895709b58acf93fde29bc9"],"secs":112,"stamp":"e098dc3bf6524f3f856fbd1aadf346b1","tree":"4ce038d8c863af4933c69b42abfa48ceaada433f","v":1,"via":"run"}
Ci-Attestation: {"at":1791861450,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"7eac41082dae167f9d43d849cd542d3f888b60c47b23d195fd29c81e15052db6","lane":"rust-test","parents":["e688393a35ec04d57d895709b58acf93fde29bc9"],"secs":61,"stamp":"e98741e87948afe4b4a195b2c053bc52","tree":"4ce038d8c863af4933c69b42abfa48ceaada433f","v":1,"via":"run"}
Ci-Attestation: {"at":1791861450,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"b486fea3e07d99160d9d1103fa134b88b6418ec7dc596bed23cc92ca8967d2c1","lane":"tier2-linux","parents":["e688393a35ec04d57d895709b58acf93fde29bc9"],"secs":65,"stamp":"ea9153d5a0dc51038880e12cd4c3b721","tree":"4ce038d8c863af4933c69b42abfa48ceaada433f","v":1,"via":"run"}
Linux always; core code adds the Rust-libobs build; macOS or Windows
code adds that platform's jobs.

Refs #436
…anges (GREEN)

ci/ci_scope.py classifies the change. The Ubuntu OBS build, Rust tests
and Tier 2 on Linux always run; core code (libobs, rust/) adds the
Rust-libobs build; macOS or Windows code, or shared build/CI config,
adds that platform's OBS build (one architecture), Rust tests and Tier 2.
The release gate and ci-full still run everything, Flatpak included.

Refs #436

Local-Gate: v1 tree=a4733bf63f68a5c197789b1974493120adfda2e1 secs=387 lanes=lint:run,rust-test:run,tier2-linux:run
Ci-Attestation: {"at":1791868394,"gate":"rust/all/fmt","host":"linux-x86_64","key":"a97dbe89823169320d30c28d5434d0c62b91d65bd1f21e5848e15d0106be5122","lane":"lint","parents":["3ad8c9d2cfd12e866130d10347aaa0bd6cb67daf"],"secs":133,"stamp":"d856b91785c07939f79ce25ffe60e43f","tree":"a4733bf63f68a5c197789b1974493120adfda2e1","v":1,"via":"run"}
Ci-Attestation: {"at":1791868394,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"a97dbe89823169320d30c28d5434d0c62b91d65bd1f21e5848e15d0106be5122","lane":"lint","parents":["3ad8c9d2cfd12e866130d10347aaa0bd6cb67daf"],"secs":133,"stamp":"a5ef3a77b5c75e227fb57e899de4fb07","tree":"a4733bf63f68a5c197789b1974493120adfda2e1","v":1,"via":"run"}
Ci-Attestation: {"at":1791868394,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"5d4210e335943a20dc8b49820efd39d11f383f5e1ef37b7c689ed81b4e266d51","lane":"rust-test","parents":["3ad8c9d2cfd12e866130d10347aaa0bd6cb67daf"],"secs":188,"stamp":"c7de5d04de30cac560ae0a773a50f132","tree":"a4733bf63f68a5c197789b1974493120adfda2e1","v":1,"via":"run"}
Ci-Attestation: {"at":1791868394,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"e02006bd4ef15a6f4de800b1f05193369b5823bb420947291cbb9df6bd4829d2","lane":"tier2-linux","parents":["3ad8c9d2cfd12e866130d10347aaa0bd6cb67daf"],"secs":66,"stamp":"028437ce290f25003e906da95634c6cf","tree":"a4733bf63f68a5c197789b1974493120adfda2e1","v":1,"via":"run"}
@zackees
zackees force-pushed the ci/436-release-gate branch from 0c65118 to 8d15541 Compare October 13, 2026 05:13
@zackees
zackees merged commit 0746278 into master Oct 13, 2026
25 checks passed
@zackees
zackees deleted the ci/436-release-gate branch October 26, 2026 15:42
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.

ci: Move Flatpak and the native builds out of the dev cycle into a release gate

1 participant