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
This commit is contained in:
David Dalcino
2022-09-17 23:34:08 -07:00
committed by GitHub
parent 4bac0e69d3
commit 0fe801746a
4 changed files with 13 additions and 3 deletions

View File

@@ -155,6 +155,14 @@ to make it working well with installed directory.
.. note::
It is your own task to set some environment variables to fit your platform, such as PATH, QT_PLUGIN_PATH, QML_IMPORT_PATH, and QML2_IMPORT_PATH. aqtinstall will never do it for you, in order not to break the installation of multiple versions.
.. warning::
If you are using aqtinstall to install the ios version of Qt, please be aware that
there are compatibility issues between XCode 13+ and versions of Qt less than 6.2.4.
You may use aqtinstall to install older versions of Qt for ios, but the developers of
aqtinstall cannot guarantee that older versions will work on the most recent versions of MacOS.
Aqtinstall is tested for ios on MacOS 12 with Qt 6.2.4 and greater.
All earlier versions of Qt are expected not to function.
Testimonies
-----------

View File

@@ -32,7 +32,7 @@ jobs:
- job: Mac
dependsOn: MatricesGenerator
pool:
vmImage: 'macOS-10.15'
vmImage: 'macOS-12'
strategy:
matrix: $[ dependencies.MatricesGenerator.outputs['mtrx.mac'] ]
steps:

View File

@@ -270,8 +270,8 @@ mac_build_jobs.append(
# mobile SDK
mac_build_jobs.extend(
[
BuildJob("install-qt", "5.15.2", "mac", "ios", "ios", "ios", is_autodesktop=True),
BuildJob("install-qt", "6.2.2", "mac", "ios", "ios", "ios", module="qtsensors", is_autodesktop=False),
BuildJob("install-qt", "6.4.0", "mac", "ios", "ios", "ios", module="qtsensors", is_autodesktop=True),
BuildJob("install-qt", "6.2.4", "mac", "ios", "ios", "ios", module="qtsensors", is_autodesktop=False),
BuildJob("install-qt", "6.1.0", "mac", "android", "android_armv7", "android_armv7", is_autodesktop=True),
]
)

View File

@@ -524,6 +524,8 @@ There are various combinations to accept according to Qt version.
.. describe:: target
desktop, ios, winrt, or android. The type of device for which you are developing Qt programs.
If your target is ios, please be aware that versions of Qt older than 6.2.4 are expected to be
non-functional with current versions of XCode (applies to any XCode greater than or equal to 13).
.. describe:: Qt version