mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
[win][CI] Convert paths to Windows format before adding to PATH
This commit is contained in:
@@ -42,5 +42,5 @@ if isWindows && isKnownToBeMingwBuild; then
|
||||
|
||||
curl -o mingw.7z "${MIRRORS_BASE}/${mingw_archive}"
|
||||
7z x -y mingw.7z > /dev/null
|
||||
ciCommandAddPath "$(pwd)/${mingw_dir}/bin"
|
||||
ciCommandAddPath "$(cygpath -m "$(pwd)/${mingw_dir}/bin")"
|
||||
fi
|
||||
|
||||
@@ -12,7 +12,7 @@ if isWindows; then
|
||||
7z x -oninja ninja.zip
|
||||
rm ninja.zip
|
||||
ciCommandSetEnv "RUST_CONFIGURE_ARGS" "${RUST_CONFIGURE_ARGS} --enable-ninja"
|
||||
ciCommandAddPath "$(pwd)/ninja"
|
||||
ciCommandAddPath "$(cygpath -m "$(pwd)/ninja")"
|
||||
elif isMacOS; then
|
||||
brew install ninja
|
||||
fi
|
||||
|
||||
@@ -15,7 +15,7 @@ elif isWindows; then
|
||||
mkdir -p sccache
|
||||
curl -fo sccache/sccache.exe \
|
||||
"${MIRRORS_BASE}/2025-02-24-sccache-v0.10.0-x86_64-pc-windows-msvc.exe"
|
||||
ciCommandAddPath "$(pwd)/sccache"
|
||||
ciCommandAddPath "$(cygpath -m "$(pwd)/sccache")"
|
||||
fi
|
||||
|
||||
# FIXME: we should probably install sccache outside the containers and then
|
||||
|
||||
Reference in New Issue
Block a user