65 Commits

Author SHA1 Message Date
xavier2k6
44393832f3 Explicitly use python 3.13 (#891)
Some checks failed
Check tox tests / Check packaging 📦 (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Publish Python 🐍 distributions 📦 to PyPI / Build package (push) Has been cancelled
Test on GH actions environment / test (binary, windows-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.8.0) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.13, 6.8.1) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.13, 6.7.3) (push) Has been cancelled
Publish Python 🐍 distributions 📦 to PyPI / publish Python 🐍 distributions 📦 to PyPI (push) Has been cancelled
Co-authored-by: Hiroshi Miura <miurahr@linux.com>
2025-03-16 22:05:41 +09:00
Alexandre Poumaroux
5d699b9ebf Commercial fixes, CI tests, more tests, coverage (#883)
* Add authentication flags for list-qt-commercial, add tests for coverage

* Add dry run

* Make tests really use auth since secrets have been added, fix some indents

* Fix auth issue, rename user 'email, and password 'pw'

* Fix modules param type

* Update commands names
2025-02-22 09:56:56 +09:00
Alexandre Poumaroux
a09b5cee28 Fix WASM (#846)
* Rewrite WASM support

* Add WASM tests to CI, update CI to test more the latest versions, add auto EMSDK version detection function

* Fix some mistakes, typos, moved emsdk version function into BuildJob

* Fix issue related to extensions interfering with wasm on 6.8+

* Fix tests

* Remove dep on Version in CI

* Remove safety before patch

* handle cases where extensions don't exist.

for example with windows desktop 6.8.1 win64_msvc2022_arm64_cross_compiled
both qtwebengine and qtpdf don't exist.

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* for --long-modules assume extension doesn't exist on download error.

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* for --modules assume extension doesn't exist for download failures.

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* reformat with black

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* fix flake8 regression that doesn't occur locally.

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Fix autodesktop by also updating the OS when searching for a valid desktop version to download

* Fix extension issue, reduce the possible retry for getting extensions to prevent server spam

* Fix CI asking for msvc2019 on 6.8+ but its no longer supported

* Make CI use C++20 and MSVC2022

* Fix linux build

* Update runners to windows-2022

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Fix patching

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Add back the semantic version changes to prevent crashes, add tests for it

* Update checks

* Cast 'https://mirrors.ustc.edu.cn' to the shadow realm

* Again

* Update settings.ini

* Update settings.ini

* Update settings.ini

* Remove one_rep on silent

* Update settings.ini

* Restore master settings, remove hash check

* ci: Use specific mirror

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 <1204936+Kidev@users.noreply.github.com>

* Re enable hash checking

* Treat read timeout error during download as connection error

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>

* Add test for modules in WASM with autodesktop

* Fix format

* Fix test

* Make '--autodesktop' trigger its own install process, and test it

* Fix older autodesktop tests

* Add mock update files for 680 wasm, add test for wasm 680 autodesktop

* Passes the additional tests

* Fix format

* Improve coverage, fix format

* Fix tests and improve logging or install

* Fix format

* Fix regression in other tests

* Use flavor

* Fix line len

* Fix codeql

* Fix list-qt for WASM arch on 6.5.x and 6.6.x, restore to original download URL

* Fix test error

* Revert ci settings URL as it is never used by clients, only in CI

* Add comment for clarity in ci/settings.ini

---------

Signed-off-by: Alexandre 'Kidev' Poumaroux <1204936+Kidev@users.noreply.github.com>
Co-authored-by: tsteven4 <13596209+tsteven4@users.noreply.github.com>
Co-authored-by: J.D. Purcell <jdpurcell@gmail.com>
2025-01-06 15:35:40 +09:00
Hiroshi Miura
7fbe5879b1 chore(ci): azure-pipelines bump to macos-14 (#827)
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-10-06 09:49:23 +09:00
Hiroshi Miura
bdf8b4b1f9 chore(ci): bump target qt versions: 6.5.x, 6.6.x, 6.7.x and 6.8.0 (#822)
* chore(ci): bump target qt versions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): use install-qt subcommand

- Drop backward compat check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix qmake query checks

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix mingw targets

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add target 6.8.0 and drop use of python3.9

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add expectation for Qt 6.8

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): drop tox test from install-qt check

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): fix expectation for windows/android qt 6.6

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci):  wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci):  wip

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): add taget Qt 6.7.3

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): bump actions/setup-python@v5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: drop test target Qt5

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: update triggers

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: disable Linux_ARM64

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: replace list with list-qt

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore(ci): azure-pipelines: no build check if list-qt

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-10-06 08:40:49 +09:00
Hiroshi Miura
b942aab190 chore(ci): bump artifact-upload@v4
and fix azure-pipelines job name

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-09-29 10:56:21 +09:00
Andrew Wason
1615782c25 Fixes and tests. Untested Azure pipeline support. 2024-03-05 18:37:15 -05:00
Hiroshi Miura
447cce1429 chore: update CI execution trigger/schedule (#735)
* chore: update CI execution trigger/schedule

- Full tests weekly on master
- Change trigger for GitHub actions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* chore: suppress azure-pipelines on pr/push

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2023-11-14 23:06:18 +09:00
Hiroshi Miura
d3c24d8387 CI: bump target python version to 3.9 (#575)
* CI: bump target python version to 3.9

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-09-30 08:35:06 +09:00
David Dalcino
0fe801746a Update Mac CI pipelines to use MacOS-12 (#541)
* Update Mac CI pipelines to use MacOS-12

The MacOS-10.15 CI runners are now deprecated, and will begin brownouts in August. See discussion here: https://github.com/actions/virtual-environments/issues/5583

MacOS-11 is also available, in case there are any issues with 12.

* drop non-functional qt

* add warnings about Qt < 6.2 to docs

* specify Qt 6.2.4 as the minimum for ios
2022-09-18 15:34:08 +09:00
David Dalcino
b72891f139 cache powershell modules
This change saves PowerShell modules used in the Azure Pipelines to a
cache, and loads them when required. This is intended to prevent random
failures when the PowerShell Gallery fails to provide the requested
modules. These failures occur at random, possibly as a result of a
backpressure mechanism.

This change will also speed up all Windows Azure Pipelines jobs, since
downloads from the PowerShell Gallery will no longer be necessary.
2021-12-10 09:45:45 -08:00
David Dalcino
ddf8eddc85 Update MacOS in Azure Pipelines
Azure Pipelines has deprecated macOS-10.14 builds.

See: https://devblogs.microsoft.com/devops/hosted-pipelines-image-deprecation/
2021-11-23 11:52:47 -08:00
David Dalcino
8b61f3ae66 Use windows-2019 image in CI
This commit squashes some existing commits, all related to
the Azure Pipeline CI builds.

WHAT:
1. Use `windows-2019` image in CI
2. Switch Qt download mirror to `https`
3. Replace MSVC-2017 builds: MSVC-2017 is not present in `windows-2019`
4. Fix broken mingw builds

WHY:
As you can see in a recent Azure Pipelines build, the Windows Server
2016 image is now deprecated:
https://dev.azure.com/miurahr/github/_build/results?buildId=4687&view=logs&j=c4497b2b-649a-591e-539b-0d716883e33e

The newer `vmImage: 'windows-2022'` would work too, see
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml

MINGW:
The existing mingw builds were a little bit broken because the `Path`
environment variable did not include the mingw toolchain installed with
`aqt install-tool`, so the Chocolatey mingw was being used.
This change fixes that by adding parameters to BuildJob that are
specific to each mingw toolchain and fixing the code that sets the Path
environment variable in Powershell.
2021-11-06 11:08:37 -07:00
Hiroshi Miura
337eb98ff0 CI: refactor azure pipelines scripts (#250)
* CI: refactoring Azure pipeline scripts

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: azure (wip)

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Add list command

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: skip installation of package when install command(linux)

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* fix typo

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-05-24 23:23:50 +09:00
Hiroshi Miura
9f1c83ce77 CI: Chnage test versions combination (#213)
* CI: Change test versions combination

- test with python 3.9 on Github actions
- test with python 3.8 on Azure pipelines
- test against 5.9.9, 5.12.8, 5.13.2, 5.14.2, 5.15.2, and 6.1.0
- run on ubuntu-20.04 for Qt6
- CI: Test mac/ios/Qt6 combination
- CI: Azure: install desktop qtbase when android and ios install
- CI: update example project for Qt6

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-02-12 00:01:42 +09:00
Hiroshi Miura
060a1125f3 Handle Qt6/non-desktop installation patching (#210)
* Do not check qmake for android

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Refactoring patching

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: test android_armv7 in 6.0.1

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Patching qt6 android qmake script

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Patching qt6 android qmake script(wip)

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: test android/qt6 on github actions

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Add combination for Qt6 and update README

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Azure: Fix test cases

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Azure: Fix Qt6 test case

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Fix windows case

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Fix windows case

Add debug print

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix prefix path for patching

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Improvve log messages for patching

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Check android installation

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Check android installation

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Check android installation

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Updater: update logging message

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Updater: Fix qmake detection on windows

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: run qmake.bat on windows

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: run Qt6 qmake.bat on windows

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: run Qt6 qmake.bat on windows

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Azure: fix mirror test

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Azure: test Qt6 with Ubuntu 20.04

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2021-02-11 10:05:13 +09:00
Hiroshi Miura
6a8f5cee21 CI: azure: fix conditions
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-11-22 12:31:08 +09:00
Hiroshi Miura
df8c4a17ae Support partial source installation
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-11-22 09:52:58 +09:00
Hiroshi Miura
1709c49135 CI: change target versions
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-10-06 13:23:29 +09:00
Hiroshi Miura
0d77a134b7 CI: add doc_src_examples test
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-31 12:58:31 +09:00
Hiroshi Miura
da5d205752 AP: add test case for subarchives
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-21 08:54:49 +09:00
Hiroshi Miura
8419b21a00 AP: drop tools test which done on mingw test
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-04 13:45:42 +09:00
Hiroshi Miura
b0aa5a0e6d AP: add build test with mingw
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-03 15:39:30 +09:00
Hiroshi Miura
2fd41da192 Azure: trigger with ci config change
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-05-02 13:37:24 +09:00
Hiroshi Miura
98704a32c4 Azure: Change test condition
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-03-12 20:13:12 +09:00
Hiroshi Miura
7aff6d12dd Azure: precise trigger conditions
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-03-06 18:58:05 +09:00
Hiroshi Miura
3809211813 CI: reduce test cases
- GH: Remove python 3.7 on github actions test.
- Azure: Only run on master and rel-* branch.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-03-06 13:32:36 +09:00
Hiroshi Miura
66b70f62d2 Revert "azure: mingw without external 7zip"
This reverts commit 5ac1a91692.
2020-02-15 14:38:45 +09:00
Hiroshi Miura
5ac1a91692 azure: mingw without external 7zip
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-02-15 14:02:01 +09:00
Hiroshi Miura
2b5ef5b154 Test external command for mingw
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-02-11 10:37:20 +09:00
Hiroshi Miura
25ec1c6058 CI: update wasm emsdk version (#78)
* CI: update wasm emsdk version

Fix broken link and ask to install latest with fastcomp backend

* CI: Test wasm on Qt 5.14.0

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* CI: Update openssl version

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2020-01-07 07:16:10 +09:00
Hiroshi Miura
e937dff283 Add CI test for tool installation (#47)
* Test: Update target Qt versions
* Add tools test
* tools: fix errors

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-10-08 09:26:24 +09:00
Hiroshi Miura
fd8ec2d55a Move ci script in ci folder
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-06-02 10:14:56 +09:00
Nelson Chen
ba5849026d Use Azure Pipelines itself to generate and run test matrix from Python script
Instead of having to run a script on the developer's system and then committing the result, Azure Pipelines itself can run a modification of that script and reuse the variable it sets in later steps to determine the test matrices.

Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#multi-configuration

With this, `/azure-pipelines.yml` no longer needs to be treated like a committed generated artifact!

Closes #30.
2019-06-01 16:47:53 -07:00
Nelson Chen
4112c22a83 Test Mirror Functionality with specific job 2019-06-01 11:54:33 +09:00
Nelson Chen
1cb817e49e Scale testing of Android Targets to just Linux
AQT is for CI/CD. Users might develop Android Apps on Mac/Windows but
they are far more likely to choose the most available platform for CI/CD
of their apps: Linux.
2019-05-31 01:35:24 -07:00
Nelson Chen
bf9ecd6b40 Use ordered dictionaries to make generated AP yaml output consistent between Python 3.6 and 3.7
Keeps down the pipeline.yml diff noise
2019-05-31 01:31:26 -07:00
Hiroshi Miura
89989cdcea azure: update configuration
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-29 08:10:34 +09:00
Hiroshi Miura
5fa5b044b5 Support outputdir option
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-28 09:23:31 +09:00
Hiroshi Miura
36a88166db Revert "azure: more reduction of workloads"
This reverts commit 658ea7cf42.
2019-05-26 11:59:17 +09:00
Hiroshi Miura
658ea7cf42 azure: more reduction of workloads
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-25 17:24:07 +09:00
Hiroshi Miura
b6bd7843d3 azure: Test Only with py3.7 to reduce work loads
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-25 17:19:13 +09:00
Hiroshi Miura
ec2031ffa9 Azure: Add ci script generator (#20)
thanks @nelsonjchen

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-05-25 17:08:02 +09:00
Hiroshi Miura
4d45d430fd CI: update
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-24 20:59:00 +09:00
Hiroshi Miura
4d61362be4 CI: update configuration
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-24 12:51:45 +09:00
Hiroshi Miura
20b0add0ec Update flake8 configurations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-24 11:40:33 +09:00
Hiroshi Miura
45aec55ce5 Introduce subcommand
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-23 20:08:36 +09:00
Hiroshi Miura
f80815f574 CI: add python dependency six
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-15 08:37:04 +09:00
Hiroshi Miura
f6e704864a Utilize requests package for http access
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-15 07:23:12 +09:00
Hiroshi Miura
38888f544c use 7zr light weight version
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-10 10:14:36 +09:00