Debian Codegraph @

ci/linux-build-job-script.sh

raw
1 #!/usr/bin/env bash
2
3 if [ -z ${CI+x} ]; then
4 echo "this script is only intended to run in CI" >&2
5 exit 1
6 fi
7
8 set -e
9 set -o pipefail
10 set -u
11 set -x
12
13 logfile=$(mktemp)
14 ci/build.sh |& tee $logfile
15 echo "$CI_JOB_NAME-warnings `grep -c 'warning:' $logfile`" | tee metrics.txt