diff --git a/.github/configs/aqt.ini b/.github/configs/aqt.ini new file mode 100644 index 0000000..d815c1d --- /dev/null +++ b/.github/configs/aqt.ini @@ -0,0 +1,46 @@ +[DEFAULTS] + +[aqt] +concurrency: 4 +baseurl: https://qt.mirror.constant.com/ +7zcmd: 7z +print_stacktrace_on_error: False +always_keep_archives: False +archive_download_location: . +min_module_size: 41 + +[requests] +connection_timeout: 3.5 +response_timeout: 30 +max_retries_on_connection_error: 5 +retry_backoff: 0.1 +max_retries_on_checksum_error: 5 +max_retries_to_retrieve_hash: 5 +hash_algorithm: sha256 +INSECURE_NOT_FOR_PRODUCTION_ignore_hash: False + +[mirrors] +trusted_mirrors: + https://download.qt.io + https://qt.mirror.constant.com/ + https://ftp.fau.de/qtproject/ +blacklist: + http://mirrors.ocf.berkeley.edu + http://mirrors.tuna.tsinghua.edu.cn + http://mirrors.geekpie.club +fallbacks: + https://qtproject.mirror.liquidtelecom.com/ + https://mirrors.aliyun.com/qt/ + https://mirrors.ustc.edu.cn/qtproject/ + https://ftp.jaist.ac.jp/pub/qtproject/ + https://ftp.yz.yamagata-u.ac.jp/pub/qtproject/ + https://qt-mirror.dannhauer.de/ + https://ftp.fau.de/qtproject/ + https://mirror.netcologne.de/qtproject/ + https://mirrors.dotsrc.org/qtproject/ + https://www.nic.funet.fi/pub/mirrors/download.qt-project.org/ + https://master.qt.io/ + https://mirrors.ukfast.co.uk/sites/qt.io/ + https://ftp2.nluug.nl/languages/qt/ + https://ftp1.nluug.nl/languages/qt/ + https://qt.mirror.constant.com/ diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 496906d..f6fb8cd 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -42,6 +42,8 @@ jobs: version: 5.15.2 modules: "qtwebengine" setup-python: false + env: + AQT_CONFIG: ${{ github.workspace }}/.github/configs/aqt.ini - name: Setup MSVC compiler uses: bus1/cabuild/action/msdevshell@v1 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16311e2..70ba77c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,8 @@ jobs: version: 6.4.3 modules: "qtwebengine qtwebchannel qtpositioning" setup-python: false + env: + AQT_CONFIG: ${{ github.workspace }}/.github/configs/aqt.ini - name: Setup MSVC compiler uses: bus1/cabuild/action/msdevshell@v1 with: