[win][CI] Convert paths to Windows format before adding to PATH

This commit is contained in:
Daniel Paoliello 2025-05-07 10:39:07 -07:00
parent d163a28381
commit e71deaa88a
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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