Skip to content

Commit 40d5ab7

Browse files
committed
Fix Windows CI.
It seems to be caused by nextest-rs/nextest#1493, with this comment as a fix: nextest-rs/nextest#1493 (comment)
1 parent e72f65f commit 40d5ab7

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

.github/workflows/gen_windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
CARGO_INCREMENTAL: "0"
2424
SCCACHE_GHA_ENABLED: "true"
2525
RUSTC_WRAPPER: "sccache"
26+
RUSTUP_WINDOWS_PATH_ADD_BIN: "1"
2627

2728
steps:
2829
- name: "checkout repo"

.github/workflows/gen_windows_continuous.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
CARGO_INCREMENTAL: "0"
2727
SCCACHE_GHA_ENABLED: "true"
2828
RUSTC_WRAPPER: "sccache"
29+
RUSTUP_WINDOWS_PATH_ADD_BIN: "1"
2930

3031
steps:
3132
- name: "checkout repo"

.github/workflows/gen_windows_tag.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
CARGO_INCREMENTAL: "0"
1414
SCCACHE_GHA_ENABLED: "true"
1515
RUSTC_WRAPPER: "sccache"
16+
RUSTUP_WINDOWS_PATH_ADD_BIN: "1"
1617

1718
steps:
1819
- name: "checkout repo"

ci/generate-workflows.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,8 @@ def global_env(self):
832832
self.env["MACOSX_DEPLOYMENT_TARGET"] = "10.9"
833833
if "alpine" in self.name:
834834
self.env["RUSTFLAGS"] = "-C target-feature=-crt-static"
835+
if "win" in self.name:
836+
self.env["RUSTUP_WINDOWS_PATH_ADD_BIN"] = "1"
835837
return
836838

837839
def prep_environment(self, cache=True):

0 commit comments

Comments
 (0)