windows: Add Git Bash to the path
The libcxx tests currently require bash to be available (although that might change), and the bash provided with Git is enough for fulfilling this need. (Bash can also be useful for running other scripts in the libcxx CI chain outside of the tests themselves.) For the main LLVM testing, this works once https://reviews.llvm.org/D98858 is merged. This also allows getting rid of GnuWin altogether.
This commit is contained in:
parent
b11b61d04f
commit
e7cc8d1de8
1 changed files with 2 additions and 1 deletions
|
@ -53,8 +53,9 @@ RUN pip install -r https://raw.githubusercontent.com/google/llvm-premerge-checks
|
||||||
ENV PYTHONIOENCODING=UTF-8
|
ENV PYTHONIOENCODING=UTF-8
|
||||||
|
|
||||||
# update the path variable
|
# update the path variable
|
||||||
|
# C:\Program Files\Git\usr\bin contains a usable bash and other unix tools.
|
||||||
RUN powershell -NoProfile -InputFormat None -Command `
|
RUN powershell -NoProfile -InputFormat None -Command `
|
||||||
$path = $env:path + ';C:\Program Files\CMake\bin'; `
|
$path = $env:path + ';C:\Program Files\CMake\bin;C:\Program Files\Git\usr\bin'; `
|
||||||
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $path
|
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $path
|
||||||
|
|
||||||
# use this folder to store the worksapce'
|
# use this folder to store the worksapce'
|
||||||
|
|
Loading…
Reference in a new issue