Skip to content

ci: enable soldr shims for Windows Rust Tier 2 (soldr 0.9.31 / zccache 1.15.2) - #25

Merged
zackees merged 2 commits into
masterfrom
ci/windows-tier2-shims
Oct 9, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/windows-tier2-shims

Conversation

@zackees

@zackees zackees commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Removes the Windows workaround in the rust-tier2 job. It also fixes the macOS Tier 2 breakage that has been on master since #23.

Windows shims (forge-ci/zccache#1937)

zccache used to expect an MSVC staticlib as liblibobs_rust-<hash>.a while rustc writes libobs_rust-<hash>.lib, so it failed to materialize the compile and shims were off on Windows. forge-ci/zccache#1938 fixed that and shipped in zccache 1.15.2. soldr 0.9.31 (forge-ci/soldr#3611) embeds it.

  • rust-tier2: shims: ${{ runner.os == 'macOS' }} -> shims: true; the workaround comment is gone.
  • Every setup-soldr call (Local Gate mirror, Rust Tests, Rust Tier 2) passes version: 0.9.31. The setup-soldr pin (0f223ac6, v0.9.85) stays as is. Its version input installs any published soldr release, so no setup-soldr release is needed.

cmocka-tests aggregate target

test_formatted_filename (#21/#23) was never built on macOS because the Tier 2 validators listed test targets by hand, so ctest reported it as Not Run and Rust Tier 2 macos-26 failed on master. test/cmocka/CMakeLists.txt now adds every test to a cmocka-tests custom target, and all three validators (tier2-validate/validate.sh, validate.ps1, linux-validate/validate.sh) build libobs cmocka-tests (plus decklink on Linux). The test stays NOT-MSVC-only because of its ASan/UBSan flags, the same way test_avc gates its sanitizer flags.

./lint and ./unittest pass (Linux Tier 2: 6/6 tests, including test_formatted_filename), and the head is local-gate stamped.

Refs forge-ci/zccache#1937

…e 1.15.2)

zccache 1.15.2 materializes MSVC staticlib outputs as <crate>-<hash>.lib
(it used to look for liblibobs_rust-*.a). Pin soldr 0.9.31, which embeds
it, on every setup-soldr call and turn shims on for Windows too.

Refs forge-ci/zccache#1937

Local-Gate: v1 tree=633e79e31ccae552981b6d1f7509cc4f2878a199 secs=22 lanes=lint:run,rust-test:run,tier2-linux:run
Ci-Attestation: {"at":1791527353,"gate":"rust/all/fmt","host":"linux-x86_64","key":"c230c2caea0ecdcd298642b7d17ec660b12d8559ae2659a637e08d87aa19c834","lane":"lint","parents":["09e90adcac3fb1f3d7977d06efd2fceb51c9035a"],"secs":9,"stamp":"c8d1e1e182047c90c5e0da738d85bab0","tree":"633e79e31ccae552981b6d1f7509cc4f2878a199","v":1,"via":"run"}
Ci-Attestation: {"at":1791527353,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"c230c2caea0ecdcd298642b7d17ec660b12d8559ae2659a637e08d87aa19c834","lane":"lint","parents":["09e90adcac3fb1f3d7977d06efd2fceb51c9035a"],"secs":9,"stamp":"9ebe78f233e0b24464077b1e74f65b7f","tree":"633e79e31ccae552981b6d1f7509cc4f2878a199","v":1,"via":"run"}
Ci-Attestation: {"at":1791527353,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"3fbdd9b8b4b16b5cdd309558cacaf84f2e8e0bb4cd6d82267d51e8088bf20a81","lane":"rust-test","parents":["09e90adcac3fb1f3d7977d06efd2fceb51c9035a"],"secs":3,"stamp":"f42b7dc70ae5ff3d4c7d19daae8c52cb","tree":"633e79e31ccae552981b6d1f7509cc4f2878a199","v":1,"via":"run"}
Ci-Attestation: {"at":1791527353,"gate":"general/linux-x64/tier2","host":"linux-x86_64","key":"4850b816717eb3926790764e1c3e9c43bc85b0723485888b9f8c0eb2d9700c3d","lane":"tier2-linux","parents":["09e90adcac3fb1f3d7977d06efd2fceb51c9035a"],"secs":10,"stamp":"5e941ae24665b033bbf9ae6556175aa8","tree":"633e79e31ccae552981b6d1f7509cc4f2878a199","v":1,"via":"run"}
The Tier 2 validators listed test targets by hand, so test_formatted_filename
(added for #21) was never built on macOS and ctest reported it as Not Run,
failing Rust Tier 2 macos-26 on master. Every cmocka test now joins
cmocka-tests, and all three validators build libobs + cmocka-tests. The test
stays NOT MSVC-only (ASan/UBSan flags), so Windows builds the other five.

Local-Gate: v1 tree=dbda695c22b6c20ed2bc9dc2e1d0c3d58526492c secs=24 lanes=lint:run,rust-test:run,tier2-linux:run
Ci-Attestation: {"at":1791529839,"gate":"rust/all/fmt","host":"linux-x86_64","key":"cbc96ef789fb71e16e7ded835121745b0c6ab2ab8f704b3d944b507c5b6dfbd7","lane":"lint","parents":["9b54b75f8fd5f0ea2a01e9b2ab6bfb6db2f6ab5f"],"secs":10,"stamp":"77be0e31c1ac59f6e1b45cbd676a0f6a","tree":"dbda695c22b6c20ed2bc9dc2e1d0c3d58526492c","v":1,"via":"run"}
Ci-Attestation: {"at":1791529839,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"cbc96ef789fb71e16e7ded835121745b0c6ab2ab8f704b3d944b507c5b6dfbd7","lane":"lint","parents":["9b54b75f8fd5f0ea2a01e9b2ab6bfb6db2f6ab5f"],"secs":10,"stamp":"809abb40d6877addec2c70e83b5e43ff","tree":"dbda695c22b6c20ed2bc9dc2e1d0c3d58526492c","v":1,"via":"run"}
Ci-Attestation: {"at":1791529839,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"19a7b0c5602f6ab6c2320d4e7fa030ce54226c071582eba0635b3655d666bb43","lane":"rust-test","parents":["9b54b75f8fd5f0ea2a01e9b2ab6bfb6db2f6ab5f"],"secs":3,"stamp":"52eae2bdbaafb6e2e456473184b86203","tree":"dbda695c22b6c20ed2bc9dc2e1d0c3d58526492c","v":1,"via":"run"}
Ci-Attestation: {"at":1791529839,"gate":"general/linux-x64/tier2","host":"linux-x86_64","key":"72d3237c0ef0b79ab5d4239058ae5fa6e070034c0174ffbe7f7f162daa5db080","lane":"tier2-linux","parents":["9b54b75f8fd5f0ea2a01e9b2ab6bfb6db2f6ab5f"],"secs":10,"stamp":"e4997b23b4c40486f0d57c32976113a5","tree":"dbda695c22b6c20ed2bc9dc2e1d0c3d58526492c","v":1,"via":"run"}
@zackees
zackees merged commit 2c1f11b into master Oct 9, 2026
22 checks passed
@zackees
zackees deleted the ci/windows-tier2-shims branch October 9, 2026 07:28
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.

1 participant