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>
Johannes Schindelin committed
Oct 1, 2019 at 04:16 UTC
411e4f4735397a601f33be475918e4a96f66e3a2
3 files changed
+6
-2
azure-pipelines.yml
+1
-1
@@ -354,7 +354,7 @@ jobs:
354
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
355
356
sudo apt-get update &&
357
- sudo apt-get install -y coccinelle &&
357
+ sudo apt-get install -y coccinelle libcurl4-openssl-dev libssl-dev libexpat-dev gettext &&
358
359
export jobname=StaticAnalysis &&
360
ci/install-dependencies.sh
+2
-1
@@ -49,7 +49,8 @@ osx-clang|osx-gcc)
49
;;
50
StaticAnalysis)
51
sudo apt-get -q update
52
- sudo apt-get -q -y install coccinelle
52
+ sudo apt-get -q -y install coccinelle libcurl4-openssl-dev libssl-dev \
53
+ libexpat-dev gettext
54
;;
55
Documentation)
56
sudo apt-get -q update
ci/run-static-analysis.sh
+3
@@ -26,4 +26,7 @@ then
26
exit 1
27
fi
28
29
+make hdr-check ||
30
+exit 1
31
+
32
save_good_tree