diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-10-07 04:33:02 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-07 04:33:02 +0200 |
commit | 9728ab488ad2fc5e17daba69cbc80ff514f70da8 (patch) | |
tree | 7ff6a4b70f586b6abc02c1aba75f7a477b7ca4a2 /ci | |
parent | Merge branch 'cb/do-not-use-test-cmp-with-a' (diff) | |
parent | ci: run `hdr-check` as part of the `Static Analysis` job (diff) | |
download | git-9728ab488ad2fc5e17daba69cbc80ff514f70da8.tar.xz git-9728ab488ad2fc5e17daba69cbc80ff514f70da8.zip |
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-x | ci/install-dependencies.sh | 3 | ||||
-rwxr-xr-x | ci/run-static-analysis.sh | 3 |
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 |