mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
CI: collect certain intermediate files as artifacts (part 2)
Build issues may also surface for analysis jobs. Collect intermediate files (if any) there as well. Include xen/.config too, since it's not otherwise collected. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
35de7285d5
commit
1615934e29
2 files changed
+13
-1
No files matched your search
@@ -58,10 +58,21 @@ runtime_failures_docs() {
|
|||||||
(
|
(
|
||||||
runtime_failures_docs
|
runtime_failures_docs
|
||||||
|
|
||||||
|
ret=0
|
||||||
|
mkdir -p intermediates
|
||||||
make "-j${PROCESSORS}" "-l${PROCESSORS}.0" \
|
make "-j${PROCESSORS}" "-l${PROCESSORS}.0" \
|
||||||
"CROSS_COMPILE=${CROSS_COMPILE}" \
|
"CROSS_COMPILE=${CROSS_COMPILE}" \
|
||||||
"CC=${CC}" \
|
"CC=${CC}" \
|
||||||
"CXX=${CXX}" \
|
"CXX=${CXX}" \
|
||||||
"XEN_TARGET_ARCH=${XEN_TARGET_ARCH}" \
|
"XEN_TARGET_ARCH=${XEN_TARGET_ARCH}" \
|
||||||
-C xen
|
-C xen || ret=$?
|
||||||
|
|
||||||
|
# Preserve Xen intermediate files. Some may be there only upon build failure.
|
||||||
|
for f in xen/.config xen/.xen-syms.* xen/.xen.efi.*; do
|
||||||
|
if [[ -f $f ]]; then
|
||||||
|
cp $f intermediates/
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
exit $ret
|
||||||
)
|
)
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
- "${ECLAIR_OUTPUT_DIR}/*.txt"
|
- "${ECLAIR_OUTPUT_DIR}/*.txt"
|
||||||
- '*.log'
|
- '*.log'
|
||||||
- '*.json'
|
- '*.json'
|
||||||
|
- intermediates/
|
||||||
reports:
|
reports:
|
||||||
codequality: gl-code-quality-report.json
|
codequality: gl-code-quality-report.json
|
||||||
rules:
|
rules:
|
||||||
|
|||||||