Verified Commit b5ccf95b authored by Michal Nowak's avatar Michal Nowak

Collect TXT and HTML reports produced by ABI checker

Although in util/api-checker.sh we create textual reports, we don't
preserve them in job artifacts, but we should.

We don't want to keep all HTML pages present in the project root, but
just those produced by ABI checker.
parent 582b9310
Pipeline #41768 canceled with stages
in 24 seconds
......@@ -1299,7 +1299,8 @@ abi-check:
- util/api-checker.sh . refbind
artifacts:
paths:
- "*.html"
- "*-lib*.html"
- "*-lib*.txt"
- "abi-*.dump"
expire_in: "1 week"
only:
......
......@@ -80,4 +80,4 @@ while read -r HTMLREPORT; do
TXTREPORT="${HTMLREPORT/.html/.txt}"
echo " w3m: ${HTMLREPORT} -> ${TXTREPORT}"
w3m -dump -cols 75 -O ascii -T text/html "${HTMLREPORT}" > "${TXTREPORT}"
done < <(find . -maxdepth 1 -name '*.html')
done < <(find . -maxdepth 1 -name '*-lib*.html')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment