Raffaello / sdl2-vga-terminal

SDL2 VGA Terminal
MIT License
6 stars 1 forks source link

[azure-pipelines] sonarCloud integration #85

Closed Raffaello closed 4 years ago

Raffaello commented 4 years ago

integrate with pipelines, separated pipeline.

integrated within the project too?

ref: https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud

Raffaello commented 4 years ago

some info:

SonarCloud
Enhance your workflow with continuous code quality, SonarCloud automatically analyzes and decorates pull requests on GitHub, Bitbucket, Azure DevOps and GitLab on major languages.
GitHub
SonarSource/sonarcloud_example_cpp-cmake-linux-travis
Contribute to SonarSource/sonarcloud_example_cpp-cmake-linux-travis development by creating an account on GitHub.
C/C++/Objective-C | SonarQube Docs
Raffaello commented 4 years ago

there is a problem with vcpkg and dependencies slowing down everything..

should be store the dependencies as an artificat? and use those to do the CI and sonarcloud? as a separated pipeline for vcpkg?

or it would be enough a pre stage for vcpkg using cache for dependency and a post stage for sonarcloud only on 1 clean build without the matrix?

probably without pre-stage anyway stage-step


the latest seems ok.

At the momet is separated in a new pipeline.

Raffaello commented 4 years ago

at the moment i do not see any benefit having sonar cloud in azure pipeline except the build is for free.... i am considering to use either github action or travis for this... but probably shoud stick to azure-pipeline, without rewriting another pipeline task.