mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-29 21:00:06 +00:00
Configure aqtinstall to use a mirror
This commit is contained in:
parent
44c37a8435
commit
d34224c135
3 changed files with 22 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -104,6 +104,8 @@ jobs:
|
||||||
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jdpurcell/install-qt-action@v5
|
uses: jdpurcell/install-qt-action@v5
|
||||||
|
env:
|
||||||
|
AQT_CONFIG: ${{ github.workspace }}/source/tools/aqt-settings.ini
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.qt_version }}
|
version: ${{ matrix.qt_version }}
|
||||||
arch: ${{ matrix.qt_arch_aqt }}
|
arch: ${{ matrix.qt_arch_aqt }}
|
||||||
|
|
|
||||||
4
.github/workflows/clang-tidy-review.yml
vendored
4
.github/workflows/clang-tidy-review.yml
vendored
|
|
@ -48,7 +48,9 @@ jobs:
|
||||||
path: clang-tidy-review
|
path: clang-tidy-review
|
||||||
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v4
|
uses: jdpurcell/install-qt-action@v5
|
||||||
|
env:
|
||||||
|
AQT_CONFIG: ${{ github.workspace }}/source/tools/aqt-settings.ini
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.qt_version }}
|
version: ${{ matrix.qt_version }}
|
||||||
arch: ${{ matrix.qt_arch_aqt }}
|
arch: ${{ matrix.qt_arch_aqt }}
|
||||||
|
|
|
||||||
17
tools/aqt-settings.ini
Normal file
17
tools/aqt-settings.ini
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
[aqt]
|
||||||
|
# Using this mirror instead of download.qt.io because of timeouts in CI
|
||||||
|
# Below is the default URL of the mirror
|
||||||
|
# baseurl: https://download.qt.io
|
||||||
|
baseurl: https://qt.mirror.constant.com
|
||||||
|
|
||||||
|
[requests]
|
||||||
|
# Mirrors require sha1 instead of sha256
|
||||||
|
hash_algorithm: sha1
|
||||||
|
|
||||||
|
[mirrors]
|
||||||
|
trusted_mirrors:
|
||||||
|
https://qt.mirror.constant.com
|
||||||
|
fallbacks:
|
||||||
|
https://qt.mirror.constant.com
|
||||||
|
https://mirrors.ocf.berkeley.edu
|
||||||
|
https://download.qt.io
|
||||||
Loading…
Add table
Add a link
Reference in a new issue