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

Introduce CI and basic checks #99

Merged
merged 7 commits into from
Oct 13, 2023
Merged

Introduce CI and basic checks #99

merged 7 commits into from
Oct 13, 2023

Conversation

josecm
Copy link
Member

@josecm josecm commented Oct 12, 2023

This PR introduces the bao-ci infrastructure as a git submodule and instantiates and creates Github actions for basic checks such as:

  • all files have the correct license and copyright info;
  • git commit message linting to enforce conventional commit convention;
  • compiles without errors for a set of representative platforms for both arm and risc-v architectures.

It adds status stickers to the readme file that display the status of the build checks. You can check out how this looks here.

danielRep
danielRep previously approved these changes Oct 12, 2023
Copy link
Member

@danielRep danielRep left a comment

Choose a reason for hiding this comment

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

Nothing to add. Seems good to me. Just don't forget to correct the gitlint error.

Please review the commit phrasing: introduce ci subomodule to submodule

When including ci.mk in the Makefile it is needed to check if the target
rules are rules that will trigger a build or not as most CI rules don't
require a build. Otherwise many operations needded only for a build will
be triggered even if we are only, for example, checking code formatting.

Signed-off-by: Jose Martins <[email protected]>
Signed-off-by: Jose Martins <[email protected]>
@josecm
Copy link
Member Author

josecm commented Oct 12, 2023

don't forget to correct the gitlint error.

Done.

Please review the commit phrasing: introduce ci subomodule to submodule

Typo fixed.

danielRep
danielRep previously approved these changes Oct 12, 2023
@josecm josecm changed the title Introduce CI and basic Checks Introduce CI and basic checks Oct 12, 2023
@josecm
Copy link
Member Author

josecm commented Oct 12, 2023

Just realized the name of the riscv build job was incorrect. Force pushed the correction.

Copy link
Member

@sandro2pinto sandro2pinto left a comment

Choose a reason for hiding this comment

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

All good to me.

@danielRep danielRep merged commit 8757f23 into main Oct 13, 2023
12 checks passed
@danielRep danielRep deleted the feat/ci branch October 13, 2023 13:43
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