Commit Graph

59 Commits

Author SHA1 Message Date
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
Hiroshi Miura
fb8e24802c Artifact generation automated
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-07 18:37:20 +09:00
Hiroshi Miura
44bdc0533c prepare for publish
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-07 08:02:11 +09:00
Hiroshi Miura
ed0fb78ce2 Support Python2
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-07 00:13:03 +09:00
Hiroshi Miura
b80eb7e1c4 azure: update
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-06 22:24:58 +09:00
Hiroshi Miura
2c1d20b83f azure: test on python2
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-06 21:49:54 +09:00
Hiroshi Miura
1f0c0a141a azure: fix CI script
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2019-03-06 21:45:16 +09:00