[ci] upload any generated clang reproducers as artifacts (#136157)
Make sure any generated clang reproducers end up as artifacts.
This commit is contained in:
parent
808f63824a
commit
2ce97fd43c
@ -28,10 +28,14 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
|
||||
ccache --clear
|
||||
fi
|
||||
|
||||
mkdir -p artifacts/reproducers
|
||||
|
||||
# Make sure any clang reproducers will end up as artifacts.
|
||||
export CLANG_CRASH_DIAGNOSTICS_DIR=`realpath artifacts/reproducers`
|
||||
|
||||
function at-exit {
|
||||
retcode=$?
|
||||
|
||||
mkdir -p artifacts
|
||||
ccache --print-stats > artifacts/ccache_stats.txt
|
||||
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user