-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Check semver compatibility with all target platforms, not just the host platform #357
Comments
Thanks @Sh0g0-1758! Assigned. |
I've started looking into this. I made some additional comments in the linked issue obi1kenobi/cargo-semver-checks-action#54 I basically see three ways forward here:
|
Based on obi1kenobi/cargo-semver-checks-action#54 (comment), I think that a PR to cargo-semver-checks-action is the way to go. If that turns out to be unexpectedly difficult, it wouldn't be a huge deal for us to just use |
Update: |
Credit to @memark for landing obi1kenobi/cargo-semver-checks-action#82, which unblocked this! Closes #357
Amazing, thank you for that!! It turned out to be a one-line change on our side, so I went ahead and implemented it: #1523 Thanks for unblocking this! |
Glad I could help! (As mentioned, there is still a chance that we're running into a caching issue in that action with different targets, but I'll get to that shortly.) |
Sounds good! For performance reasons, we only run a subset of tests when a PR is pending (we run the full set of tests in the merge queue), so it's possible that when we try to merge #1523, that bug will crop up. Fingers crossed... |
Credit to @memark for landing obi1kenobi/cargo-semver-checks-action#82, which unblocked this! Per #1565, we do not run on wasm32-wasi yet. Closes #357
Credit to @memark for landing obi1kenobi/cargo-semver-checks-action#82, which unblocked this! Per #1565, we do not run on wasm32-wasi yet. Closes #357
We use
cargo-semver-checks-action
in CI to ensure we do not accidentally break semver compatibility:zerocopy/.github/workflows/ci.yml
Lines 244 to 264 in 0ff2dd1
This check occurs within our build matrix, so it's re-run for each
target
:zerocopy/.github/workflows/ci.yml
Lines 41 to 53 in 0ff2dd1
However, we aren't actually making use of
target
, meaning we are re-running the exact same check 11 times on the Github Actions host target (x86_64-unknown-linux-gnu
).We need to modify this CI job to respect the value of
target
. To do this, see here: obi1kenobi/cargo-semver-checks-action#54 (comment)The text was updated successfully, but these errors were encountered: