Skip to content

Commit 3f62c81

Browse files
committed
[ci] upload any generated clang reproducers as artifacts
Make sure any generated clang reproducers end up as artifacts.
1 parent 9ffa206 commit 3f62c81

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.ci/monolithic-linux.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,14 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
2828
ccache --clear
2929
fi
3030

31+
mkdir -p artifacts/reproducers
32+
33+
# Make sure any clang reproducers will end up as artifacts.
34+
export CLANG_CRASH_DIAGNOSTICS_DIR=`realpath artifacts/reproducers`
35+
3136
function at-exit {
3237
retcode=$?
3338

34-
mkdir -p artifacts
3539
ccache --print-stats > artifacts/ccache_stats.txt
3640
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
3741

0 commit comments

Comments
 (0)