mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
ci: run hdr-check
as part of the Static Analysis
job
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
b503a2d515
commit
411e4f4735
|
@ -354,7 +354,7 @@ jobs:
|
||||||
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
|
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
|
||||||
|
|
||||||
sudo apt-get update &&
|
sudo apt-get update &&
|
||||||
sudo apt-get install -y coccinelle &&
|
sudo apt-get install -y coccinelle libcurl4-openssl-dev libssl-dev libexpat-dev gettext &&
|
||||||
|
|
||||||
export jobname=StaticAnalysis &&
|
export jobname=StaticAnalysis &&
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,8 @@ osx-clang|osx-gcc)
|
||||||
;;
|
;;
|
||||||
StaticAnalysis)
|
StaticAnalysis)
|
||||||
sudo apt-get -q update
|
sudo apt-get -q update
|
||||||
sudo apt-get -q -y install coccinelle
|
sudo apt-get -q -y install coccinelle libcurl4-openssl-dev libssl-dev \
|
||||||
|
libexpat-dev gettext
|
||||||
;;
|
;;
|
||||||
Documentation)
|
Documentation)
|
||||||
sudo apt-get -q update
|
sudo apt-get -q update
|
||||||
|
|
|
@ -26,4 +26,7 @@ then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
make hdr-check ||
|
||||||
|
exit 1
|
||||||
|
|
||||||
save_good_tree
|
save_good_tree
|
||||||
|
|
Loading…
Reference in a new issue