Skip to content

Commit

Permalink
ci: fail fast when installing the windows tools (#29999) (#30024)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 26, 2022
1 parent 13de35e commit d7e87c9
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .ci/scripts/install-tools.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,15 @@ SET PREVIOUS_USERPROFILE=%USERPROFILE%
SET USERPROFILE=%OLD_USERPROFILE%
IF NOT EXIST C:\Python38\python.exe (
REM Install python 3.8
choco install python -y -r --no-progress --version 3.8.5
IF NOT ERRORLEVEL 0 (
exit /b 1
)
choco install python -y -r --no-progress --version 3.8.5 || exit /b 1
)
python --version
where python

where /q gcc
IF ERRORLEVEL 1 (
WHERE /q gcc
IF %ERRORLEVEL% NEQ 0 (
REM Install mingw 5.3.0
choco install mingw -y -r --no-progress --version 5.3.0
IF NOT ERRORLEVEL 0 (
exit /b 1
)
choco install mingw -y -r --no-progress --version 5.3.0 || exit /b 1
)
gcc --version
where gcc
Expand Down

0 comments on commit d7e87c9

Please sign in to comment.