-
Notifications
You must be signed in to change notification settings - Fork 30
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
Run a CI job linting/parsing the CMake files in cmake/* #222
Draft
j-rivero
wants to merge
14
commits into
ign-cmake2
Choose a base branch
from
linter
base: ign-cmake2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
github-actions
bot
added
Gazebo 1️1️
Dependency of Gazebo classic version 11
🌱 garden
Ignition Garden
🏯 fortress
Ignition Fortress
🏰 citadel
Ignition Citadel
labels
Apr 1, 2022
chapulina
added
enhancement
New feature or request
and removed
🌱 garden
Ignition Garden
labels
Jul 25, 2022
mjcarroll
reviewed
Apr 20, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. What are next steps to getting in landed? Addressing the remaining outstanding issues?
I think so yes. |
Signed-off-by: Jose Luis Rivero <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🏰 citadel
Ignition Citadel
enhancement
New feature or request
🏯 fortress
Ignition Fortress
Gazebo 1️1️
Dependency of Gazebo classic version 11
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.
🎉 New feature
Summary
There is no current check on very broken CMake syntax in our cmake modules (see #221 as an example). Looking for some tools I found cmakelang that provides a parser and linter that was able to find parsing problems on the error present in #221.
The tool is not perfect and sometimes just crash on the presence of errors but serves well as smoke testing. It also brings all kind of conventions that is some nice to have and define in the ign-cmake project.
The PR consists in two parts:
Still a Draft until I finish with other PRs affecting OGRE2. We need to include documentation about what conventions we want to follow.
Test it
The github action should take care of test the whole setup.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.