chore(ci): force use of mirrors for Qt for now (#6096)
This commit is contained in:
@@ -45,10 +45,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Setup Python 3.9
|
- name: Setup Python 3.12
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.9'
|
python-version: '3.12'
|
||||||
|
|
||||||
- name: Create Build Environment
|
- name: Create Build Environment
|
||||||
# Some projects don't allow in-source building, so create a separate build directory
|
# Some projects don't allow in-source building, so create a separate build directory
|
||||||
@@ -56,10 +56,14 @@ jobs:
|
|||||||
run: cmake -E make_directory ${{github.workspace}}/build
|
run: cmake -E make_directory ${{github.workspace}}/build
|
||||||
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v3
|
uses: jdpurcell/install-qt-action@v5
|
||||||
|
env:
|
||||||
|
AQT_CONFIG: ${{ github.workspace }}/tools/aqt-settings.ini
|
||||||
with:
|
with:
|
||||||
version: ${{ env.QT_VERSION }}
|
version: ${{ env.QT_VERSION }}
|
||||||
setup-python: 'false'
|
setup-python: 'false'
|
||||||
|
cache: true
|
||||||
|
cache-key-prefix: 'install-qt-action-macOS'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: python3 -m pip install --upgrade pip Pillow lz4 clang jinja2
|
run: python3 -m pip install --upgrade pip Pillow lz4 clang jinja2
|
||||||
|
|||||||
@@ -69,19 +69,21 @@ jobs:
|
|||||||
mingw-w64-x86_64-openssl
|
mingw-w64-x86_64-openssl
|
||||||
python -m pip install clang jinja2
|
python -m pip install clang jinja2
|
||||||
|
|
||||||
|
- name: Check out the repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v3
|
uses: jdpurcell/install-qt-action@v5
|
||||||
|
env:
|
||||||
|
AQT_CONFIG: ${{ github.workspace }}/tools/aqt-settings.ini
|
||||||
with:
|
with:
|
||||||
cache: true
|
cache: true
|
||||||
cache-key-prefix: 'install-qt-action-win64'
|
cache-key-prefix: 'install-qt-action-win64'
|
||||||
version: ${{ env.QT_VERSION }}
|
version: ${{ env.QT_VERSION }}
|
||||||
arch: ${{ env.MINGW_VERSION }}
|
arch: ${{ env.MINGW_VERSION }}
|
||||||
|
|
||||||
- name: Check out the repo
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{github.workspace}}
|
working-directory: ${{github.workspace}}
|
||||||
# Execute the build. You can specify a specific target with "--target <NAME>"
|
# Execute the build. You can specify a specific target with "--target <NAME>"
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user