diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-08-25 13:39:37 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-08-25 14:10:44 +0200 |
| commit | 2ea8621779f0ed509ab28e11e3113b9ccb330262 (patch) | |
| tree | 37ce25253a6fad4e8055d3269c5cf9f2912847d0 /src/bootstrap | |
| parent | 8fa5fc63baa449a7d04719f34c819fe82809cf9b (diff) | |
| download | rust-2ea8621779f0ed509ab28e11e3113b9ccb330262.tar.gz rust-2ea8621779f0ed509ab28e11e3113b9ccb330262.zip | |
Override `GITHUB_ACTIONS=0` for tidy tests
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/test.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index a6035bfc9da..64630052543 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -3129,7 +3129,7 @@ impl Step for Distcheck { let configure_args: Vec<String> = std::env::var("DISTCHECK_CONFIGURE_ARGS") .map(|args| args.split(" ").map(|s| s.to_string()).collect::<Vec<String>>()) - .unwrap_or(vec![]); + .unwrap_or_default(); command("tar") .arg("-xf") @@ -3146,6 +3146,9 @@ impl Step for Distcheck { .run(builder); command(helpers::make(&builder.config.host_target.triple)) .arg("check") + // Do not run the build as if we were in CI, otherwise git would be assumed to be + // present, but we build from a tarball here + .env("GITHUB_ACTIONS", "0") .current_dir(&plain_src_dir) .run(builder); |
