Skip to content

Commit

Permalink
Use mirror to download mingw_tools
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov committed Nov 25, 2023
1 parent 447cce1 commit 96437b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ steps:
qmake $(Build.BinariesDirectory)\tests\helloworld
jom
} elseif ( $env:TOOLCHAIN -eq 'MINGW' ) {
python -m aqt install-tool --outputdir $(Build.BinariesDirectory)/Qt $(HOST) desktop tools_mingw qt.tools.$(MINGW_VARIANT)
python -m aqt install-tool $(if (($QT_BASE_MIRROR + "") -ne "") { "-b $QT_BASE_MIRROR" } else {""}) `
--outputdir $(Build.BinariesDirectory)/Qt $(HOST) desktop tools_mingw qt.tools.$(MINGW_VARIANT)
if ($?) {
Write-Host 'Successfully installed tools_mingw'
} else {
Expand Down

0 comments on commit 96437b3

Please sign in to comment.