mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
Provisioning: Add Simulator Runtime installation to macOS
Task-number: QTQAINFRA-6774
Pick-to: 6.8
Change-Id: I2461911d20ba2fda7b2c53d38b0e688139501e22
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 1f6f97a141)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
28e2fcc202
commit
dc1f9e060a
25
coin/provisioning/common/macos/install-simulator-runtime.sh
Executable file
25
coin/provisioning/common/macos/install-simulator-runtime.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
# shellcheck source=../unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
set -ex
|
||||
|
||||
function InstallSimulatorRuntime {
|
||||
url=$1
|
||||
url_alt=$2
|
||||
expectedSha1=$3
|
||||
packageName=$4
|
||||
version=$5
|
||||
|
||||
DownloadURL "$url" "$url_alt" "$expectedSha1" "/tmp/$packageName"
|
||||
echo "Installing"
|
||||
# macOS 14 / Xcode 15 has a different install command
|
||||
if [[ $OSTYPE == "darwin23" ]]; then
|
||||
xcrun simctl runtime add "/tmp/$packageName"
|
||||
else
|
||||
xcodebuild -importPlatform "/tmp/$packageName"
|
||||
fi
|
||||
|
||||
echo "Simulator Runtime = $version" >> ~/versions.txt
|
||||
}
|
||||
14
coin/provisioning/qtci-macos-14-arm/22-install-simulator-runtime.sh
Executable file
14
coin/provisioning/qtci-macos-14-arm/22-install-simulator-runtime.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/install-simulator-runtime.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install-simulator-runtime.sh"
|
||||
version="17.4"
|
||||
packageName=iOS_"$version"_Simulator_Runtime.dmg
|
||||
url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
|
||||
sha1="7b930c544403806f3a4f99bb48e80f4ef1533f50"
|
||||
|
||||
InstallSimulatorRuntime $url $url $sha1 $packageName $version
|
||||
14
coin/provisioning/qtci-macos-14-x86_64/22-install-simulator-runtime.sh
Executable file
14
coin/provisioning/qtci-macos-14-x86_64/22-install-simulator-runtime.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/install-simulator-runtime.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install-simulator-runtime.sh"
|
||||
version="17.4"
|
||||
packageName=iOS_"$version"_Simulator_Runtime.dmg
|
||||
url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
|
||||
sha1="7b930c544403806f3a4f99bb48e80f4ef1533f50"
|
||||
|
||||
InstallSimulatorRuntime $url $url $sha1 $packageName $version
|
||||
14
coin/provisioning/qtci-macos-15-arm/22-install-simulator-runtime.sh
Executable file
14
coin/provisioning/qtci-macos-15-arm/22-install-simulator-runtime.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/install-simulator-runtime.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install-simulator-runtime.sh"
|
||||
version="18.0"
|
||||
packageName=iOS_"$version"_Simulator_Runtime.dmg
|
||||
url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
|
||||
sha1="f29778313459b3a2a497ffd711b9dfa212241183"
|
||||
|
||||
InstallSimulatorRuntime $url $url $sha1 $packageName $version
|
||||
14
coin/provisioning/qtci-macos-15-x86_64/22-install-simulator-runtime.sh
Executable file
14
coin/provisioning/qtci-macos-15-x86_64/22-install-simulator-runtime.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2024 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/install-simulator-runtime.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install-simulator-runtime.sh"
|
||||
version="18.0"
|
||||
packageName=iOS_"$version"_Simulator_Runtime.dmg
|
||||
url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
|
||||
sha1="f29778313459b3a2a497ffd711b9dfa212241183"
|
||||
|
||||
InstallSimulatorRuntime $url $url $sha1 $packageName $version
|
||||
Reference in New Issue
Block a user