* 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
* 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>
* 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
* 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
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.
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.
- 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>