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

Reconfigure SonarCloud #2314

Closed
abitmore opened this issue Nov 21, 2020 · 3 comments · Fixed by #2367
Closed

Reconfigure SonarCloud #2314

abitmore opened this issue Nov 21, 2020 · 3 comments · Fixed by #2367
Labels
build About build process code quality

Comments

@abitmore
Copy link
Member

abitmore commented Nov 21, 2020

We were using SonarCloud with Travis CI. Since we're moving away from Travis CI, if we still want to use SonarCloud, we need to find a way to make it work again.

Related: #836 #2312

@abitmore abitmore added the build About build process label Nov 21, 2020
@abitmore abitmore added this to the Future Feature Release milestone Nov 21, 2020
@abitmore
Copy link
Member Author

abitmore commented Jan 3, 2021

I found this: https://github.com/SonarSource/sonarcloud-github-action which seems to be for Github Actions, but according to the README file:

Do not use this GitHub action if you are in the following situations

It seems we can't use it. And we are not going to Travis-CI.

In a forum thread https://community.sonarsource.com/t/when-will-sonarcloud-c-c-analysis-support-github-actions/35994 there is more info:

you can analyze C/C++ code on GitHub actions, the only condition is that you don’t use predefined SonarCloud actions. What you have to do is to setup the analysis as part of the build action, the analysis must run in the same OS layer/environment of the build.

@abitmore
Copy link
Member Author

abitmore commented Jan 3, 2021

This seems to be what we're looking for: https://github.com/marketplace/actions/sonar-scanner .

@abitmore
Copy link
Member Author

abitmore commented Mar 4, 2021

Done via #2367.

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

Successfully merging a pull request may close this issue.

1 participant