Skip to content

Commit 411e4f4

Browse files
dschogitster
authored andcommitted
ci: run hdr-check as part of the Static Analysis job
Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b503a2d commit 411e4f4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ jobs:
354354
test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
355355
356356
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 &&
358358
359359
export jobname=StaticAnalysis &&
360360

ci/install-dependencies.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ osx-clang|osx-gcc)
4949
;;
5050
StaticAnalysis)
5151
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
5354
;;
5455
Documentation)
5556
sudo apt-get -q update

ci/run-static-analysis.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ then
2626
exit 1
2727
fi
2828

29+
make hdr-check ||
30+
exit 1
31+
2932
save_good_tree

0 commit comments

Comments
 (0)