Repository navigation
ci: enable soldr shims for Windows Rust Tier 2 (soldr 0.9.31 / zccache 1.15.2) - #25
Merged
Merged
Conversation
…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"}
This was referenced Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the Windows workaround in the
rust-tier2job. 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>.awhile rustc writeslibobs_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.version: 0.9.31. The setup-soldr pin (0f223ac6, v0.9.85) stays as is. Itsversioninput 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 asNot Runand Rust Tier 2 macos-26 failed on master.test/cmocka/CMakeLists.txtnow adds every test to acmocka-testscustom target, and all three validators (tier2-validate/validate.sh,validate.ps1,linux-validate/validate.sh) buildlibobs cmocka-tests(plusdecklinkon Linux). The test stays NOT-MSVC-only because of its ASan/UBSan flags, the same waytest_avcgates its sanitizer flags../lintand./unittestpass (Linux Tier 2: 6/6 tests, including test_formatted_filename), and the head is local-gate stamped.Refs forge-ci/zccache#1937