Repository navigation
ci: run winit-appkit tests on macOS targets - #4767
Open
glaziermag wants to merge 1 commit into
Open
glaziermag wants to merge 1 commit into
glaziermag wants to merge 1 commit into
Conversation
The step was gated on the target containing 'macos', but the macOS targets are x86_64-apple-darwin and aarch64-apple-darwin, so it was skipped on every leg. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
The
Test winit AppKitstep in.github/workflows/ci.ymlonly runs whencontains(matrix.platform.target, 'macos'). The macOS targets in the matrix arex86_64-apple-darwinandaarch64-apple-darwin, so the step is skipped on every leg.Run testsdoesn't cover the crate either, becausecargo testonly testsdefault-members = ["winit"]. As a result, the unit tests inwinit-appkit(app.rs,monitor.rs,view.rs) haven't run in CI since the step was added in #4248. That includes the sixview.rstests added in #4596.This PR changes the substring to
'darwin'. The other platform steps use the same kind of match ('apple'for CF,'ios'for UIKit).To check:
Latest
masterrun, 38698580106:Test winit AppKitisskippedin all nine macOS jobs (stable, nightly and 1.86 × x86_64, Aarch64, Private APIs).With this change on my fork, the step runs and passes in all nine (run 38826144943). The stable Aarch64 log shows 12 unit tests and 3 doctests passing.
Tested on all platforms changed (CI-only change; the macOS legs above)
Added an entry to the
changelogmodule if knowledge of this change could be valuable to users (not user-facing)Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior (none)
Created or updated an example program if it would help users understand this functionality (n/a)
Generated with Claude Code (Claude Opus 5.5). The commit carries a
Co-Authored-Bytrailer.