summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-10-07 11:33:02 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-07 11:33:02 +0900
commit9728ab488ad2fc5e17daba69cbc80ff514f70da8 (patch)
tree7ff6a4b70f586b6abc02c1aba75f7a477b7ca4a2 /ci
parentMerge branch 'cb/do-not-use-test-cmp-with-a' (diff)
parentci: run `hdr-check` as part of the `Static Analysis` job (diff)
downloadtgif-9728ab488ad2fc5e17daba69cbc80ff514f70da8.tar.xz
Merge branch 'dl/honor-cflags-in-hdr-check'
Dev support. * dl/honor-cflags-in-hdr-check: ci: run `hdr-check` as part of the `Static Analysis` job Makefile: emulate compile in $(HCO) target better pack-bitmap.h: remove magic number promisor-remote.h: include missing header apply.h: include missing header
Diffstat (limited to 'ci')
-rwxr-xr-xci/install-dependencies.sh3
-rwxr-xr-xci/run-static-analysis.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
index a76f348484..85a9d6b15c 100755
--- a/ci/install-dependencies.sh
+++ b/ci/install-dependencies.sh
@@ -49,7 +49,8 @@ osx-clang|osx-gcc)
;;
StaticAnalysis)
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)
sudo apt-get -q update
diff --git a/ci/run-static-analysis.sh b/ci/run-static-analysis.sh
index a19aa7ebbc..65bcebda41 100755
--- a/ci/run-static-analysis.sh
+++ b/ci/run-static-analysis.sh
@@ -26,4 +26,7 @@ then
exit 1
fi
+make hdr-check ||
+exit 1
+
save_good_tree