Skip to content

Commit bdea5c5

Browse files
committed
build: add install musl-tools
1 parent 227826c commit bdea5c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/tools/dev/src/main.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ fn build(target: &str) {
107107
}
108108

109109
fn test(target: Option<String>) {
110+
if env::var("GITHUB_ACTIONS").is_ok() {
111+
if cfg!(target_os = "linux") {
112+
run("sudo", &["apt", "install", "musl-tools"]);
113+
}
114+
}
115+
110116
let Some(target) = target else {
111117
run("cargo", &["test", "--workspace"]);
112118
return;

0 commit comments

Comments
 (0)