Skip to content

Commit

Permalink
ci: Use specific mirror
Browse files Browse the repository at this point in the history
Attempt to work around download errors in Azure due to Qt's official download site often redirecting to mirrors to which the network connection is unstable

Signed-off-by: Alexandre 'Kidev' Poumaroux <[email protected]>
  • Loading branch information
jdpurcell authored and Kidev committed Dec 19, 2024
1 parent 7a2a41b commit 2288b1d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
18 changes: 10 additions & 8 deletions ci/settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[aqt]
concurrency: 2
baseurl: https://download.qt.io
baseurl: https://qt.mirror.constant.com
7zcmd: 7z

[requests]
Expand All @@ -15,16 +15,18 @@ max_retries_on_checksum_error: 5
max_retries_to_retrieve_hash: 5

[mirrors]
trusted_mirrors:
https://download.qt.io
blacklist:
http://mirrors.ocf.berkeley.edu
http://mirrors.ustc.edu.cn
http://mirrors.tuna.tsinghua.edu.cn
http://mirrors.geekpie.club
http://mirrors-wan.geekpie.club
http://mirrors.sjtug.sjtu.edu.cn
https://mirrors.ocf.berkeley.edu
https://mirrors.ustc.edu.cn
https://mirrors.tuna.tsinghua.edu.cn
https://mirrors.geekpie.club
https://mirrors-wan.geekpie.club
https://mirrors.sjtug.sjtu.edu.cn
fallbacks:
https://download.qt.io
https://ftp.jaist.ac.jp/pub/qtproject
http://ftp1.nluug.nl/languages/qt
https://mirrors.dotsrc.org/qtproject

[kde_patches]
Expand Down
6 changes: 6 additions & 0 deletions ci/steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ steps:
eq(variables['SUBCOMMAND'], 'install-qt')
)
displayName: build test with qmake w/o extra module
env:
AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini
LOG_CFG: $(Build.SourcesDirectory)/ci/logging.ini
# When --archives non-empty
- script: |
Expand Down Expand Up @@ -372,6 +375,9 @@ steps:
eq(variables['SUBCOMMAND'], 'install-qt')
)
displayName: build test with qmake with specific Qt modules (QT += uitools)
env:
AQT_CONFIG: $(Build.SourcesDirectory)/ci/settings.ini
LOG_CFG: $(Build.SourcesDirectory)/ci/logging.ini
- powershell: |
# Load modules from cache
Expand Down

0 comments on commit 2288b1d

Please sign in to comment.