mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Run CI for macOS on nightly
This commit is contained in:
parent
fb00cbe723
commit
fe8dd1b00c
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -56,6 +56,10 @@ jobs:
|
|||||||
os: macos-latest
|
os: macos-latest
|
||||||
rust: stable
|
rust: stable
|
||||||
other: x86_64-apple-ios
|
other: x86_64-apple-ios
|
||||||
|
- name: macOS x86_64 nightly
|
||||||
|
os: macos-latest
|
||||||
|
rust: nightly
|
||||||
|
other: x86_64-apple-ios
|
||||||
- name: Windows x86_64 MSVC stable
|
- name: Windows x86_64 MSVC stable
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
rust: stable-msvc
|
rust: stable-msvc
|
||||||
|
@ -403,15 +403,22 @@ fn clean_verbose() {
|
|||||||
Package::new("bar", "0.1.0").publish();
|
Package::new("bar", "0.1.0").publish();
|
||||||
|
|
||||||
p.cargo("build").run();
|
p.cargo("build").run();
|
||||||
p.cargo("clean -p bar --verbose")
|
let mut expected = String::from(
|
||||||
.with_stderr(
|
"\
|
||||||
"\
|
[REMOVING] [..]target/debug/.fingerprint/bar[..]
|
||||||
[REMOVING] [..]
|
[REMOVING] [..]target/debug/deps/libbar[..].rlib
|
||||||
[REMOVING] [..]
|
[REMOVING] [..]target/debug/deps/bar-[..].d
|
||||||
[REMOVING] [..]
|
[REMOVING] [..]target/debug/deps/libbar[..].rmeta
|
||||||
[REMOVING] [..]
|
|
||||||
",
|
",
|
||||||
)
|
);
|
||||||
|
if cfg!(target_os = "macos") {
|
||||||
|
// Rust 1.69 has changed so that split-debuginfo=unpacked includes unpacked for rlibs.
|
||||||
|
for obj in p.glob("target/debug/deps/bar-*.o") {
|
||||||
|
expected.push_str(&format!("[REMOVING] [..]{}", obj.unwrap().display()));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
p.cargo("clean -p bar --verbose")
|
||||||
|
.with_stderr_unordered(&expected)
|
||||||
.run();
|
.run();
|
||||||
p.cargo("build").run();
|
p.cargo("build").run();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user