mirror of
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
synced 2024-11-14 22:43:44 +08:00
build: add helpers to upload coverity tarball
This commit is contained in:
parent
a07ea0329c
commit
0bcdef9700
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,6 +17,7 @@
|
||||
/config.status
|
||||
/configure
|
||||
/coverage
|
||||
/cov-int
|
||||
/libtool
|
||||
/stamp-h1
|
||||
/test-suite.log
|
||||
|
25
Makefile.am
25
Makefile.am
@ -410,6 +410,31 @@ lcov-run lcov-report:
|
||||
|
||||
endif
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# coverity
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
kmod-coverity-%.tar.xz:
|
||||
rm -rf $< cov-int
|
||||
./bootstrap-configure --disable-python --disable-manpages
|
||||
make clean
|
||||
cov-build --dir cov-int make -j 4
|
||||
tar caf $@ cov-int
|
||||
|
||||
coverity-tar: kmod-coverity-$(shell git describe).tar.xz
|
||||
|
||||
coverity-sync: kmod-coverity-$(shell git describe).tar.xz
|
||||
@echo "uploading coverity tarball"
|
||||
@curl --form token=$(COVERITY_KMOD_TOKEN) \
|
||||
--form email=lucas.de.marchi@gmail.com \
|
||||
--form file=@$< \
|
||||
--form version="$(shell git describe)" \
|
||||
--form description="" \
|
||||
https://scan.coverity.com/builds?project=kmod
|
||||
|
||||
coverity-clean:
|
||||
rm -rf kmod-coverity-*.tar.xz cov-int
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# custom release helpers
|
||||
# ------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user