-
Notifications
You must be signed in to change notification settings - Fork 22
fix(valgrind): install libc6-dbg during valgrind setup #394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -199,7 +199,13 @@ pub async fn install_valgrind( | |||||||||||||||||
| Ok(vec!["valgrind".to_string()]) | ||||||||||||||||||
| }, | ||||||||||||||||||
| ) | ||||||||||||||||||
| .await | ||||||||||||||||||
| .await?; | ||||||||||||||||||
|
|
||||||||||||||||||
| // Install libc debug symbols, as Github runners by default do not | ||||||||||||||||||
| // include them. Only install for supported systems. | ||||||||||||||||||
| apt::install(system_info, &["libc6-dbg"])?; | ||||||||||||||||||
|
Comment on lines
+204
to
+206
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Comment on lines
+204
to
+206
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time! |
||||||||||||||||||
|
|
||||||||||||||||||
| Ok(()) | ||||||||||||||||||
| } | ||||||||||||||||||
|
|
||||||||||||||||||
| #[cfg(test)] | ||||||||||||||||||
|
|
||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of the cache in the action is to avoid having to do
sudo apt updatewhen not required, which can take quite a lot of time.We should cache the output of libc dbg, because it can in practice ad 30 sec to 1 min to ci runs.
apt.rsalready exposes the cache helper it should work transparently