[win][CI] Convert paths to Windows format before adding to PATH
This commit is contained in:
parent
d163a28381
commit
e71deaa88a
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue