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: use matrix to reduce duplication #20

Merged
merged 2 commits into from
May 16, 2024
Merged

ci: use matrix to reduce duplication #20

merged 2 commits into from
May 16, 2024

Conversation

winstxnhdw
Copy link
Contributor

@winstxnhdw winstxnhdw commented May 15, 2024

Summary

There's a lot of overlap between the Windows and Linux CI. In that case, it's a lot more idiomatic to use a matrix to reduce duplication and improve the maintainability of the actions. There's also no need to specify the shell type because GitHub Actions default to PowerShell on Windows.

We also cache our dependencies before each build to improve our CI times.

Let me know what you think.

Copy link
Member

@arjo129 arjo129 left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution. LGTM.

@winstxnhdw
Copy link
Contributor Author

Probably will have to manually merge this then change the branch protection rules afterwards.

@mxgrey mxgrey merged commit d64a79e into open-rmf:main May 16, 2024
4 checks passed
@winstxnhdw winstxnhdw deleted the ci branch May 16, 2024 14:13
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.

3 participants