215 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
xavier2k6
ffe1efa119 Use latest jom for test 2025-03-11 19:54:52 +00:00
Hiroshi Miura
1f11296e5d Merge pull request #899 from miurahr/topic/miurahr/ci/check-jom-hash-pwsh
chore(ci): fix jom md5 check
2025-03-11 19:02:16 +09:00
Hiroshi Miura
94da8dee63 chore(ci): adjust for review comment
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2025-03-03 08:18:51 +09:00
Hiroshi Miura
41d039500e chore(ci): print error message for jom md5 error
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2025-03-02 11:08:34 +09:00
Hiroshi Miura
e4c43e11fd chore(ci): fix jom md5 check
- Currently md5sum failed with unknown md5sum file error
- Uses pwsh syntax to check md5 hash

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2025-03-02 10:52:48 +09:00
J.D. Purcell
defc725bcf chore(ci): Use Qt 6.8.1 for Windows ARM64 cross-compilation job 2025-03-01 11:12:28 -05:00
J.D. Purcell
14b32b052c chore(ci): Fix vcvars for ARM64 cross-compilation 2025-03-01 10:47:26 -05:00
Hiroshi Miura
d5ab3792ea chore(ci): avoid zipped resources from repository (#895)
Some checks are pending
Check tox tests / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build package (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / publish Python 🐍 distributions 📦 to PyPI (push) Blocked by required conditions
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Waiting to run
* chore(ci): expand test sources

- Avoid zip archive from repository for security

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

* chore(ci): download jom from official repository

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

* chore(ci): revert jom to 1.1.3

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

* chore(ci): update md5 checks

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

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2025-03-01 10:41:05 +09:00
Hiroshi Miura
4dccfeb760 chore(ci): fix syntax error on azure pipelines
Some checks are pending
Check tox tests / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build package (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / publish Python 🐍 distributions 📦 to PyPI (push) Blocked by required conditions
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Waiting to run
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2025-02-28 14:46:29 +09:00
Hiroshi Miura
07e9c2bf3d chore(ci): fix azure pipelines syntax error
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2025-02-28 14:33:21 +09:00
Hiroshi Miura
9a67e1fb19 chore(ci): fix azure pipelines syntax error
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2025-02-28 14:27:47 +09:00
Hiroshi Miura
8aeff23e8b chore(ci): fix azure pipelines syntax error
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2025-02-28 14:23:55 +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
82385435c4 chore: drop lfs configuration
Some checks are pending
Check tox tests, lint and types / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build and publish Python 🐍 distributions 📦 to PyPI (push) Waiting to run
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Waiting to run
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Waiting to run
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Waiting to run
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-19 12:29:49 +09:00
Hiroshi Miura
fa497729dd chore/ci: setup reviewdog (#835)
Some checks failed
Check tox tests, lint and types / Check packaging 📦 (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Publish Python 🐍 distributions 📦 to PyPI / Build and publish Python 🐍 distributions 📦 to PyPI (push) Waiting to run
Test on GH actions environment / test (binary, windows-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.0) (push) Has been cancelled
Test on GH actions environment / test (standard, ubuntu-latest, 3.12, 6.8.1) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.5.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.6.3) (push) Has been cancelled
Test on GH actions environment / test (standard, windows-latest, 3.12, 6.7.3) (push) Has been cancelled
* chore/ci: setup reviewdog

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

* chore/ci: apply reviewdog to mypy and check

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

* chore/ci: set REVIEWDOG_GITHUB_API_TOKEN

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

* chore/ci: use --fail-level=error for reviewdog

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

* chore/ci: update tox config

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

* chore: update lint checks with reviewdog

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

* chore: checkout with lfs

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

* chore: fix missing file

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

* chore: remove unused token

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

* chore: install linter

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

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-17 21:46:25 +09:00
Hiroshi Miura
9f495dbb9f Chore: send coverage data to codacy and put badge on readme (#856)
* chore: send coverage to codacy service

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

* docs: add codacy badge

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

* chore: track jar file in LFS

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

* chore: add codacy utility in ci/ folder

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

* chore: use bundled ci/codacy-coverage-reporter-assembly.jar

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

* chore: ci: checkout with lfs support

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

---------

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-12-17 11:18:20 +09:00
Hiroshi Miura
adce6e5465 Update ci/generate_azure_pipelines_matrices.py
Ignore autodesktop for llvm-mingw case
2024-10-11 09:35:08 +09:00
Dave Dalcino
20f8b7b3b8 attempt fix for installation of llvm mingw 2024-10-06 14:03:20 -07:00
Hiroshi Miura
430e0f4359 Update ci/generate_azure_pipelines_matrices.py 2024-10-06 10:34:12 +09:00
Hiroshi Miura
bcc97e047f Update ci/generate_azure_pipelines_matrices.py 2024-10-06 09:53:15 +09:00
Hiroshi Miura
e38fb3a509 chore(ci): azure: add a case win64_llvm_mingw
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-10-06 08:42:30 +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
d0260e035a fix: delete combination check
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-08-04 16:12:19 +09:00
Andrew Wason
abc3455910 Remove arm64 qmake patch azure test 2024-03-06 11:25:29 -05:00
Andrew Wason
1615782c25 Fixes and tests. Untested Azure pipeline support. 2024-03-05 18:37:15 -05:00
David Dalcino
301ff5173b Fix generate combinations (#757)
* fix generate_combinations issue with Linux Qt 6.7

Qt 6.7.0 changes the default arch for Linux from gcc_64 to linux_gcc_64.
This allows the generate_combinations.py script to account for that.

Also, Qt 6.7.0 is missing a few architectures that were present in
earlier versions of Qt6. This makes sure that the script can pick those
up.

* black (v 24.1.1)

New version of black formats metadata.py differently than before

* Fix broken generate_combinations.py script

Versions 6.5 and 6.2 must be complete versions

Don't try to fetch Qt6 for target==winrt; it doesn't exist
2024-02-10 15:53:27 +09:00
Hiroshi Miura
50afdb40a8 fix generate_combination
- Use 6.5.3 and 6.2.3 for detection

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2024-02-10 12:37:18 +09:00
David Dalcino
4994594112 fix generate_combinations issue with Linux Qt 6.7 (#756)
* fix generate_combinations issue with Linux Qt 6.7

Qt 6.7.0 changes the default arch for Linux from gcc_64 to linux_gcc_64.
This allows the generate_combinations.py script to account for that.

Also, Qt 6.7.0 is missing a few architectures that were present in
earlier versions of Qt6. This makes sure that the script can pick those
up.

* black (v 24.1.1)

New version of black formats metadata.py differently than before
2024-02-10 12:24:00 +09:00
iakov
db7d78efed Add UITools specific jobs into CI 2023-11-25 16:04:46 +03:00
iakov
81ea66d7f6 Add UITools specific test 2023-11-25 15:52:28 +03:00
iakov
96437b3e7b Use mirror to download mingw_tools 2023-11-25 15:47:31 +03: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
Dave Dalcino
8ad9c686e3 revert arm64 arch: not a valid arch 2023-09-06 21:11:37 -07:00
Dave Dalcino
954dbfd183 Reformat steps.yml conditions for readability 2023-09-06 18:58:17 -07:00
Dave Dalcino
15f72c5c9d Add msvc arm64 azure pipelines job 2023-09-06 18:56:01 -07:00
Dave Dalcino
08733afa7a Add CI test for archives stored as .zip 2023-03-30 05:53:02 -07:00
Dave Dalcino
29c41ce863 Test extraction of .tar.gz source files 2023-03-25 11:30:17 -07:00
Dave Dalcino
c467ef56bf Test list-qt for 6.5.0 wasm 2023-02-11 10:35:48 -08:00
Dave Dalcino
e3c7d14c3f Add tests for qt 6.5.0 wasm 2023-02-11 10:35:48 -08:00
iakov
bc10ba9e85 Pin EMSDK version for build where useful
Also fix test that fails at the moment
2023-02-03 12:06:03 +03:00
Hiroshi Miura
1960e1c643 CI: fix settings.ini
- Add missing request parameters

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-12-05 19:50:51 +09:00
Dave Dalcino
839cf6e2f3 Patch according to new installscript.qs rules
This removes the inappropriate ENV variables set in steps.yml.
It's not wrong to set those variables, but the official Qt installer
patches the defaults properly, so you don't have to do it manually.
It's wrong to expect our users to set these.

This also patches target_qt.conf to add HostLibraryExecutables.
2022-12-04 16:44:45 -08:00
Dave Dalcino
e7b3facc53 Export NDK_HOST, which is defaulted to the wrong value in Qt 6.4.1 2022-12-04 10:42:48 -08:00
Dave Dalcino
0cc15b31c6 Add tests for android qt 6.4.1, using "wrong" platforms
Since Qt 6.4.1, the Qt devs stopped building android binaries for
all platforms: see https://bugreports.qt.io/browse/QTBUG-108707

> we are building android packages only in one host & use those in other ones:
> android armv7 is build only in windows
> android arm64 is build only in mac
> android x86 and android x86_64 are build only in linux

This adds tests for Qt 6.4.1 on platforms that are not the platforms that
Qt was built for, so that:
* the binaries built on Mac are tested on Linux
* the binaries built on Linux are tested on Windows
* the binaries built on Windows are tested on Mac

There should be 3 more permutations of this pattern, but I prefer to
ignore them to save on CI build times.
2022-12-02 17:31:53 -08:00
Hiroshi Miura
d9c3280748 Update generate_combinations.py
- adjust MetadataFactory 2nd argument as MetadataFactory.ModulesQuery

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-11-23 18:01:14 +09:00
Hiroshi Miura
1dbd73450a Adjust code scanner warnings
- Replace map+filter and list+filter with list comprehension expression
- Use try/except for next(Iterator)
- Add test case for altlink that cause exception on next() in get_altlink
- Avoid exit but use sys.exit

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-11-21 07:34:45 +09:00
Dave Dalcino
c90b262984 remove extensions from ArchiveId 2022-11-16 16:14:55 -08:00
Dave Dalcino
13685b7b93 update azure pipeline tests 2022-11-16 16:14:55 -08:00