Sign inSign up

mpaladin/peach

By mpaladin

•Updated almost 8 years ago

peach cfamily image

Image
2

10K+

mpaladin/peach repository overview

⁠Analyse real life C family projects

Evaluate the behavior of some milestone versions of C analysers.

⁠Developer guide

In most of the case all projects will have the same pattern:

  • Checkout from GIT
  • Use a pre build script to configure and clean
  • Use build-wrapper for build
  • scan with generic scanner

Then, you have to follow these steps to add a new project:

  • Create a new branch from an existing one (the name of the branch is the name of the Jenkins job):
checkout gcc
checkout -b <my new project>
  • Modify the file Jenkinsfile to specify the URL of the source code of the new project:
def repoURL = "[email protected]:gcc-mirror/gcc.git"
  • Eventually modify the file Jenkinsfile to specify the build-wrapper command:
def buildWrapperCmd = "build-wrapper-linux-x86-64 --out-dir build-wrapper-output make"
  • Modify the file preBuild.sh according the project you want to build
  • Modify the file sonar-project.properties according the project you want to analyse
  • (Not mandatory) Update the README.md file

For any other needs you can rely on peachee snippets⁠ where a branch of the project is a snippet.

More snippets will come as we have new needs.

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

almost 8 years ago

docker pull mpaladin/peach