Repository navigation
ci: Lint Windows and both macOS targets from Linux with soldr - #511
Merged
Merged
Conversation
A 'cross' local-gate lane runs Clippy (-D warnings) and the repo
Dylints for x86_64-pc-windows-msvc, aarch64-apple-darwin and
x86_64-apple-darwin, cross-compiled from Linux through soldr (xwin and
the macOS SDK). ci-attestations.yml declares rust/<target>/{clippy,dylint}
for each, and a Linux CI job, rust-cross-lint, runs the same lane on
every PR push unless the head is attested (zackees/ci.yml, soldr's phase
2). obs-c-oracle is excluded: a dev-only C crate built for the host.
Closes #472
Local-Gate: v1 tree=1021df54f6ec05dde06f6540ef467efd307d4537 secs=474 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791881023,"gate":"rust/all/fmt","host":"linux-x86_64","key":"02fbafe016c60bef74c831ebfa375bac0cd00a3afcb98e9aad22af0f1409ad71","lane":"lint","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":145,"stamp":"ad871866f47376606bb806c80f75b767","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"02fbafe016c60bef74c831ebfa375bac0cd00a3afcb98e9aad22af0f1409ad71","lane":"lint","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":145,"stamp":"d39ffbfe6ce0007382b89a3e785c4662","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"9a89dc07f997824d97b4fa03185a408532f47ab62dc71e15aef0e0b2185fdc74","lane":"rust-test","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":146,"stamp":"9b8856a941528894a0141d09c69ac2f7","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"3b8d84dc80c4857cf80f34c1ce4642bfe44aa56fd9d07235f9ef583a40e08e15","lane":"cross","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":108,"stamp":"c0a0b72402b78997abbe2065d960fba7","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"3b8d84dc80c4857cf80f34c1ce4642bfe44aa56fd9d07235f9ef583a40e08e15","lane":"cross","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":108,"stamp":"0aa306f1d2286a272a2e676bd849339d","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"3b8d84dc80c4857cf80f34c1ce4642bfe44aa56fd9d07235f9ef583a40e08e15","lane":"cross","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":108,"stamp":"8577cc3d6e9654426be7d16bbb03a442","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"3b8d84dc80c4857cf80f34c1ce4642bfe44aa56fd9d07235f9ef583a40e08e15","lane":"cross","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":108,"stamp":"79cd173b0751974804f71edee07675a5","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"3b8d84dc80c4857cf80f34c1ce4642bfe44aa56fd9d07235f9ef583a40e08e15","lane":"cross","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":108,"stamp":"d405fe7bf1968ddfabc9cec78801e23e","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"3b8d84dc80c4857cf80f34c1ce4642bfe44aa56fd9d07235f9ef583a40e08e15","lane":"cross","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":108,"stamp":"9efcb33d655525f8fb6ee390b31a9216","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
Ci-Attestation: {"at":1791881023,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"9b587f2234e33078d116133760cd57ee2cfca16c4805d45624cb986f0d9a7859","lane":"tier2-linux","parents":["ac2628fd3448f9d6da48d58e81c2650672a614b1"],"secs":75,"stamp":"5e88ac897474b37b9fac685c2ef8c2e0","tree":"1021df54f6ec05dde06f6540ef467efd307d4537","v":1,"via":"run"}
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.
Closes #472.
soldr cross-compiles from Linux to
x86_64-pc-windows-msvc(xwin SDK),aarch64-apple-darwinandx86_64-apple-darwin(macOS SDK), so one Linux lane lints every shipped target. This is the zackees/ci.yml pattern, soldr's phase 2.ci/test_cross_lane.pyrequires the three targets, therust/<target>/{clippy,dylint}gates, and a CI job running the lane.crosslocal-gate lane:soldr cargo clippy -D warningsandsoldr cargo dylint --all, per target, for the workspace's lib and bin targets;ci-attestations.ymlmapped to a newrust-cross-lintLinux job with setup-soldr;[gate.trust]skip +covered-by = ["cross"]).obs-c-oracleis excluded: it's a dev-only crate of C compiled for the host's tests, it never ships, and its C doesn't cross-compile to MSVC.All three targets are clean today (about 27 s warm). The local gate passed and is stamped, now with
cross:run.