Skip to content
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: simplify, test MSRV. #545

Merged
merged 1 commit into from
Dec 13, 2023
Merged

ci: simplify, test MSRV. #545

merged 1 commit into from
Dec 13, 2023

Conversation

Dirbaio
Copy link
Member

@Dirbaio Dirbaio commented Dec 13, 2023

  • Do two MSRV tests, for 1.60 and 1.75
  • 1.75 uses beta for now, will change after it's released.
  • Use separate jobs instead of matrix. The Github Actions matrix is very cursed, especially if you use include. We don't have that many combinations, IMO doing separate jobs is way more straightforward and only slightly more verbose.
  • embedded-hal needs rust-version = 1.60 because it uses dep:.

Fixes #538

@Dirbaio Dirbaio requested a review from a team as a code owner December 13, 2023 00:10
@Dirbaio Dirbaio force-pushed the msrv-ci branch 7 times, most recently from 3e1da09 to c2faac6 Compare December 13, 2023 00:25
- Use separate jobs instead of `matrix`. The Github Actions matrix is very cursed, especially if you use `include`. We don't have that many combinations, IMO doing separate jobs is way more straightforward and only slightly more verbose.
- `embedded-hal` needs `rust-version = 1.60` because it uses `dep:`.

Fixes rust-embedded#538
@Dirbaio
Copy link
Member Author

Dirbaio commented Dec 13, 2023

needs updating repo settings, will do after PR approval.

Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

@eldruin eldruin enabled auto-merge December 13, 2023 08:29
@eldruin eldruin added this pull request to the merge queue Dec 13, 2023
@eldruin
Copy link
Member

eldruin commented Dec 13, 2023

I have already updated the branch protection rules as these needed to be updated before the merge. Otherwise some required builds were missing.

Merged via the queue into rust-embedded:master with commit 635cf86 Dec 13, 2023
8 checks passed
@eldruin
Copy link
Member

eldruin commented Dec 13, 2023

Now we are missing a build without features, though. That might be a good addition.

@Dirbaio
Copy link
Member Author

Dirbaio commented Dec 13, 2023

Now we are missing a build without features, though. That might be a good addition.

the test job is doing a test without features, which should already build all crates without features. (or is there some scenario where test succeeds but build can fail?)

@eldruin
Copy link
Member

eldruin commented Dec 13, 2023

Ah, I missed that. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: test MSRVs separately.
2 participants