You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5bbf2a4
Browse filesBrowse the repository at this point in the historyBrowse files
# An invalid token/project returns a small HTML error page, not the
67
-
# multi-hundred-MB tarball. Fail loudly with a clear hint if so.
68
-
if [ "$(stat -c '%s' cov-analysis.tar.gz)" -lt 1000000 ]; then
69
-
echo "::error::Coverity build tool download failed. Verify the COVERITY_SCAN_TOKEN secret and that the registered project name matches '${COVERITY_PROJECT}'."
70
-
head -c 512 cov-analysis.tar.gz || true
71
-
exit 1
72
-
fi
73
47
mkdir -p cov-analysis
74
48
tar -xzf cov-analysis.tar.gz --strip 1 -C cov-analysis
75
49
echo "${PWD}/cov-analysis/bin" >> "$GITHUB_PATH"
@@ -78,18 +52,10 @@ jobs:
78
52
run: cov-configure --gcc
79
53
80
54
- name: Build under cov-build
81
-
# cov-build wraps the compiler and can wedge without producing output;
82
-
# cap it so a hang fails fast instead of idling until the job timeout.
83
-
# 2 translation units normally finish in a couple of minutes.
84
55
timeout-minutes: 20
85
56
run: |
86
-
# Meson caches its build tree in build/ and skips compiling when it is
87
-
# up to date, which would leave Coverity with nothing to capture and
88
-
# get the upload rejected. Remove it to force a real rebuild.
0 commit comments