mirror of
https://github.com/imjasonh/krust
synced 2026-07-08 14:55:35 +00:00
Fix cross-compilation and ensure all tests run on all platforms
- Add detailed error logging for cargo build failures (show both stdout and stderr) - Install Docker on Windows and macOS CI runners - Remove continue-on-error from test matrix - tests should fail properly - Add detailed verification of cross-compilation setup in CI - Improve Docker availability check in tests 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6681c2aef5
commit
06b9e37db9
3 changed files with 20 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use anyhow::{Context, Result};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::Command;
|
||||
use tracing::{debug, info};
|
||||
use tracing::{debug, error, info};
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
|
@ -87,7 +87,11 @@ impl RustBuilder {
|
|||
let output = cmd.output().context("Failed to execute cargo build")?;
|
||||
|
||||
if !output.status.success() {
|
||||
let stdout = String::from_utf8_lossy(&output.stdout);
|
||||
let stderr = String::from_utf8_lossy(&output.stderr);
|
||||
error!("Cargo build failed!");
|
||||
error!("stdout:\n{}", stdout);
|
||||
error!("stderr:\n{}", stderr);
|
||||
anyhow::bail!("Cargo build failed: {}", stderr);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue