mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Try removing debuginfo for ci builds (#5549)
* Try removing debuginfo for ci builds * oops, wrong inherits * extra flag * nextest doesn't support --profile in the same way * try to allow for a ci-specific target * Oops, run more tests
This commit is contained in:
@ -246,9 +246,12 @@ pub fn root() -> PathBuf {
|
||||
}
|
||||
|
||||
pub fn binaries() -> PathBuf {
|
||||
let mut build_type = "debug";
|
||||
let mut build_type = "debug".to_string();
|
||||
if !cfg!(debug_assertions) {
|
||||
build_type = "release"
|
||||
build_type = "release".to_string()
|
||||
}
|
||||
if let Ok(target) = std::env::var("NUSHELL_CARGO_TARGET") {
|
||||
build_type = target;
|
||||
}
|
||||
|
||||
std::env::var("CARGO_TARGET_DIR")
|
||||
|
Reference in New Issue
Block a user