[Slirp] [Git][slirp/libslirp][master] 2 commits: .gitlab-ci: add a Coverity stage
Marc-André Lureau
gitlab at gitlab.freedesktop.org
Mon Aug 31 08:01:48 UTC 2020
Marc-André Lureau pushed to branch master at slirp / libslirp
Commits:
39f9a363 by Marc-André Lureau at 2020-08-18T22:00:50+04:00
.gitlab-ci: add a Coverity stage
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
- - - - -
2fc96332 by Marc-André Lureau at 2020-08-31T08:01:45+00:00
Merge branch 'coverity' into 'master'
.gitlab-ci: add a Coverity stage
See merge request slirp/libslirp!51
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -25,3 +25,21 @@ build-mingw64:
build-qemu:
script:
- make BUILD_DIR=build
+
+Coverity:
+ only:
+ refs:
+ - master
+ - coverity
+ script:
+ - dnf update -y
+ - dnf install -y make curl clang
+ - curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64
+ --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN
+ - tar xfz /tmp/cov-analysis-linux64.tgz
+ - cov-analysis-linux64-*/bin/cov-build --dir cov-int make -j4 CC=clang
+ - tar cfz cov-int.tar.gz cov-int
+ - curl https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
+ --form token=$COVERITY_SCAN_TOKEN --form email=$GITLAB_USER_EMAIL
+ --form file=@cov-int.tar.gz --form version="`git describe --tags`"
+ --form description="`git describe --tags` / $CI_COMMIT_TITLE / $CI_COMMIT_REF_NAME:$CI_PIPELINE_ID "
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/compare/c4c62b0d720268808f8eeb9b38d70b1582295c04...2fc963326df7d39a83ea768416329a27b9fd6e1c
--
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/compare/c4c62b0d720268808f8eeb9b38d70b1582295c04...2fc963326df7d39a83ea768416329a27b9fd6e1c
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20200831/74d02ae8/attachment.htm>
More information about the Slirp
mailing list