We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 765f5ad commit 2ec3f7eCopy full SHA for 2ec3f7e
1 file changed
scripts/check/rust_checks.go
@@ -189,12 +189,14 @@ func (c *RustTestsLinuxCheck) Run(ctx *CheckContext) error {
189
return nil
190
}
191
192
- // Run tests in a Rust container
+ // Run tests in a Rust container with GTK dependencies for Tauri
193
+ // Use a separate target directory to avoid conflicts with macOS-compiled artifacts
194
cmd := exec.Command("docker", "run", "--rm",
195
"-v", rustDir+":/app",
196
"-w", "/app",
197
+ "-e", "CARGO_TARGET_DIR=/tmp/cargo-target",
198
"rust:latest",
- "sh", "-c", "cargo test --no-fail-fast")
199
+ "sh", "-c", "apt-get update && apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev && cargo test --no-fail-fast")
200
output, err := runCommand(cmd, true)
201
if err != nil {
202
fmt.Println()
0 commit comments