Skip to content

ci: Run the macOS and Windows jobs for C++ cmocka tests - #611

Merged
zackees merged 2 commits into
masterfrom
ci/610-scope-cmocka
Oct 13, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/610-scope-cmocka

Conversation

@zackees

@zackees zackees commented Oct 13, 2026

Copy link
Copy Markdown
Member

Fixes #610.

  • RED: ci/test_ci_scope.py checks that a C++ cmocka test, a tests.d/*.cmake file and test/cmocka/CMakeLists.txt turn on the macOS and Windows jobs, and that a plain C test stays Linux-only.
  • GREEN: ci_scope.py treats those paths as shared (SHARED_TEST).

Why: #603 and #605 added Qt C++ tests that passed Linux-only CI, then broke master's Tier 2 on MSVC and macOS (fixed in #607).

C++ test sources and the cmocka build configuration are compiled by every
platform's Tier 2; plain C tests stay Linux-only.

Fixes #610

Local-Gate: v1 tree=1443cf7b7dcb4415a754e46d8b39895904bc31e6 secs=314 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791918429,"gate":"rust/all/fmt","host":"linux-x86_64","key":"45681d16d25b1f0226e67620902a97ea478d80ea5ccc81f2b839f552947e8f78","lane":"lint","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":16,"stamp":"adc0ca1cd28c3ff024f0614570fd68ef","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"45681d16d25b1f0226e67620902a97ea478d80ea5ccc81f2b839f552947e8f78","lane":"lint","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":16,"stamp":"b723aaf67397e493385efc40cfeaf746","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"63869ee284cd84971d015920a68fa24e4993429c0dc0f423ecf3aae0d039efca","lane":"rust-test","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":82,"stamp":"06669ee051de4458b782bde01c72112a","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"68d8475741d29c689fcb9a31b0e69c09d007861056fa797cc893680741faa59a","lane":"cross","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":64,"stamp":"9221ee701042f2b12aef649e3219a6c1","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"68d8475741d29c689fcb9a31b0e69c09d007861056fa797cc893680741faa59a","lane":"cross","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":64,"stamp":"028869fd2256ba0bf375c2d9a67ee943","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"68d8475741d29c689fcb9a31b0e69c09d007861056fa797cc893680741faa59a","lane":"cross","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":64,"stamp":"cc1a06140d4a61182634c11fdf46d68b","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"68d8475741d29c689fcb9a31b0e69c09d007861056fa797cc893680741faa59a","lane":"cross","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":64,"stamp":"9acb2886cc9aab06a9d39ebb18de11aa","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"68d8475741d29c689fcb9a31b0e69c09d007861056fa797cc893680741faa59a","lane":"cross","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":64,"stamp":"6bbb4af10f680a35f62605c385000409","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"68d8475741d29c689fcb9a31b0e69c09d007861056fa797cc893680741faa59a","lane":"cross","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":64,"stamp":"dafb14be7754e2cfa6528ae0d588bbc3","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
Ci-Attestation: {"at":1791918429,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"489497864f504d7b7c9c0d007f2ecef6b2154a9629f1b66bcc59d11c6df7be42","lane":"tier2-linux","parents":["4e843cf8f00bad6f08aa9ab7bf614975f51ce8f2"],"secs":151,"stamp":"b49ec1dd7fe98488fe385908d16e932d","tree":"1443cf7b7dcb4415a754e46d8b39895904bc31e6","v":1,"via":"run"}
@zackees
zackees merged commit 67d94cc into master Oct 13, 2026
19 checks passed
@zackees
zackees deleted the ci/610-scope-cmocka 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: A new C++ cmocka test skips the macOS and Windows Tier 2 jobs that compile it

1 participant