mirror of
https://github.com/wez/wezterm.git
synced 2025-01-08 07:01:35 +03:00
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: https://github.com/nextest-rs/nextest/issues/1493#issuecomment-2106331574
This commit is contained in:
parent
6fe1d4d2f8
commit
993eb9f3a9
1
.github/workflows/gen_windows.yml
vendored
1
.github/workflows/gen_windows.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
RUSTC_WRAPPER: "sccache"
|
||||
RUSTUP_WINDOWS_PATH_ADD_BIN: "1"
|
||||
|
||||
steps:
|
||||
- name: "checkout repo"
|
||||
|
1
.github/workflows/gen_windows_continuous.yml
vendored
1
.github/workflows/gen_windows_continuous.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
RUSTC_WRAPPER: "sccache"
|
||||
RUSTUP_WINDOWS_PATH_ADD_BIN: "1"
|
||||
|
||||
steps:
|
||||
- name: "checkout repo"
|
||||
|
1
.github/workflows/gen_windows_tag.yml
vendored
1
.github/workflows/gen_windows_tag.yml
vendored
@ -13,6 +13,7 @@ jobs:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
RUSTC_WRAPPER: "sccache"
|
||||
RUSTUP_WINDOWS_PATH_ADD_BIN: "1"
|
||||
|
||||
steps:
|
||||
- name: "checkout repo"
|
||||
|
@ -812,6 +812,8 @@ rustup default {toolchain}
|
||||
self.env["MACOSX_DEPLOYMENT_TARGET"] = "10.9"
|
||||
if "alpine" in self.name:
|
||||
self.env["RUSTFLAGS"] = "-C target-feature=-crt-static"
|
||||
if "win" in self.name:
|
||||
self.env["RUSTUP_WINDOWS_PATH_ADD_BIN"] = "1"
|
||||
return
|
||||
|
||||
def prep_environment(self, cache=True):
|
||||
|
Loading…
Reference in New Issue
Block a user