Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit e3b1afe

Browse files
author
Hendrik van Antwerpen
committed
Save valgrind logs on failure
1 parent 88adb24 commit e3b1afe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ jobs:
5858
env:
5959
# Since Rust 1.83, Valgrind reports some possible leaks that cargo-valgrind
6060
# treats as fatal. The given suppressions file makes sure these are ignored.
61-
VALGRINDFLAGS: --suppressions=valgrind.supp
61+
VALGRINDFLAGS: --suppressions=valgrind.supp --gen-suppressions=all --log-file=${{ runner.temp }}/valgrind.log
62+
- name: Upload valgrind log
63+
if: ${{ failure() }}
64+
uses: actions/upload-artifact@v4
65+
with:
66+
name: valgrind logs
67+
path: ${{ runner.temp }}/valgrind.log
6268
- name: Ensure C headers are up to date
6369
run: |
6470
script/cbindgen

0 commit comments

Comments
 (0)