rpm-ostree/ci/clang-analyzer.sh
Colin Walters b942bd8cf7 ci/clang-analyzer: Install deps
This flow was missing from here which broke in CI.
2021-02-08 13:21:16 -05:00

13 lines
318 B
Bash
Executable File

#!/usr/bin/bash
# Use the clang static analyzer
set -xeuo pipefail
dn=$(dirname $0)
. ${dn}/libbuild.sh
${dn}/install-extra-builddeps.sh
${dn}/installdeps.sh
env NOCONFIGURE=1 ./autogen.sh
scan-build ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc
scan-build ${ARTIFACT_DIR:+-o ${ARTIFACT_DIR}} make