Skip to content

Commit 2f45429

Browse files
bogdan2412saep
authored andcommitted
Fix Windows CI.
It's currently failing when running tests with errors of the form: > error: creating test list failed > > Caused by: > for `wezterm-config-derive`, command > `'D:\a\wezterm\wezterm\target\debug\deps\wezterm_config_derive-f1c7f0f2de220b6e.exe' > --list --format terse` exited with code 0xc0000135: The specified > module could not be found. (os error 126) This seems to have been caused by nextest-rs/nextest#1493, with this comment as a fix: nextest-rs/nextest#1493 (comment)
1 parent 93f7c8c commit 2f45429

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
@@ -812,6 +812,8 @@ def global_env(self):
812812
self.env["MACOSX_DEPLOYMENT_TARGET"] = "10.9"
813813
if "alpine" in self.name:
814814
self.env["RUSTFLAGS"] = "-C target-feature=-crt-static"
815+
if "win" in self.name:
816+
self.env["RUSTUP_WINDOWS_PATH_ADD_BIN"] = "1"
815817
return
816818

817819
def prep_environment(self, cache=True):

0 commit comments

Comments
 (0)