mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Add missing macOS 15 provisionings
Change-Id: I83878864bd87e54130b5cb098a27de8b455f394f Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
6
coin/provisioning/qtci-macos-15-arm/01-disable-app-reopen.sh
Executable file
6
coin/provisioning/qtci-macos-15-arm/01-disable-app-reopen.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR"/../common/macos/disable-app-reopen.sh
|
||||
3
coin/provisioning/qtci-macos-15-arm/01-disable-net-lso.sh
Executable file
3
coin/provisioning/qtci-macos-15-arm/01-disable-net-lso.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/macos/disable_net_lso.sh
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/macos/disable-notifications_and_warnings.sh
|
||||
7
coin/provisioning/qtci-macos-15-arm/01-disable-updates.sh
Executable file
7
coin/provisioning/qtci-macos-15-arm/01-disable-updates.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/system_updates.sh"
|
||||
3
coin/provisioning/qtci-macos-15-arm/01-increase_limits.sh
Executable file
3
coin/provisioning/qtci-macos-15-arm/01-increase_limits.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/macos/increase_limits.sh
|
||||
8
coin/provisioning/qtci-macos-15-arm/01-mount-vcpkg-cache-drive.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/01-mount-vcpkg-cache-drive.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 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/mount-vcpkg-cache-drive.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
|
||||
6
coin/provisioning/qtci-macos-15-arm/01-set_tcc_permissions.sh
Executable file
6
coin/provisioning/qtci-macos-15-arm/01-set_tcc_permissions.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/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
|
||||
source "${BASH_SOURCE%/*}/../common/macos/set_tcc_permissions.sh"
|
||||
10
coin/provisioning/qtci-macos-15-arm/01-sha1sum-compatibility.sh
Executable file
10
coin/provisioning/qtci-macos-15-arm/01-sha1sum-compatibility.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2020 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
|
||||
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/sha1sum-compatibility.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/sha1sum-compatibility.sh"
|
||||
9
coin/provisioning/qtci-macos-15-arm/03-bashprofile.sh
Executable file
9
coin/provisioning/qtci-macos-15-arm/03-bashprofile.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
# Read .bashrc if exist
|
||||
printf -- "# Get the aliases and functions\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n" >> ~/.bash_profile
|
||||
|
||||
80
coin/provisioning/qtci-macos-15-arm/05-systemsetup.sh
Executable file
80
coin/provisioning/qtci-macos-15-arm/05-systemsetup.sh
Executable file
@@ -0,0 +1,80 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2021 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
|
||||
|
||||
# This script modified system settings for automated use
|
||||
|
||||
targetFile="$HOME/vncpw.txt"
|
||||
|
||||
# Fetch password
|
||||
curl --retry 5 --retry-delay 10 --retry-max-time 60 "http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" -o "$targetFile"
|
||||
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
|
||||
|
||||
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
|
||||
NTS_IP=10.212.2.216
|
||||
|
||||
echo "Disable Screensaver"
|
||||
# For current session
|
||||
defaults -currentHost write com.apple.screensaver idleTime 0
|
||||
|
||||
echo "Disable sleep"
|
||||
sudo pmset sleep 0 displaysleep 0
|
||||
|
||||
# For session after a reboot
|
||||
mkdir -p "$HOME/Library/LaunchAgents"
|
||||
sudo tee -a "$HOME/Library/LaunchAgents/no-screensaver.plist" <<EOT
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>org.qt.io.screensaver_disable</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>defaults</string>
|
||||
<string>-currentHost</string>
|
||||
<string>write</string>
|
||||
<string>com.apple.screensaver</string>
|
||||
<string>idleTime</string>
|
||||
<string>0</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
EOT
|
||||
|
||||
defaults write com.apple.screensaver askForPassword -int 0
|
||||
|
||||
echo "Set keyboard type rates and delays"
|
||||
# normal minimum is 15 (225 ms)
|
||||
defaults write -g InitialKeyRepeat -int 15
|
||||
# normal minimum is 2 (30 ms)
|
||||
defaults write -g KeyRepeat -int 2
|
||||
|
||||
set +x
|
||||
echo "Enable remote desktop sharing"
|
||||
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
|
||||
set -x
|
||||
|
||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
|
||||
sudo systemsetup settimezone GMT
|
||||
sudo systemsetup setusingnetworktime on
|
||||
sudo rm -f "$targetFile"
|
||||
|
||||
# Enable automount for nfs shares
|
||||
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master || sudo curl -o /etc/auto_master http://ci-files01-hki.ci.qt.io/input/mac/arm/auto_master
|
||||
sudo automount -cv
|
||||
|
||||
# Disable multicast advertisements
|
||||
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
|
||||
|
||||
# Enable Use keyboard navigation to move focus between controls
|
||||
defaults write -g AppleKeyboardUIMode -int 2
|
||||
12
coin/provisioning/qtci-macos-15-arm/06-crashreporter.sh
Executable file
12
coin/provisioning/qtci-macos-15-arm/06-crashreporter.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
defaults write com.apple.CrashReporter DialogType server
|
||||
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
SetEnvVar "SWIFT_BACKTRACE" "enable=yes,output-to=stderr,preset=medium,interactive=false"
|
||||
7
coin/provisioning/qtci-macos-15-arm/06-disable_spotlight.sh
Executable file
7
coin/provisioning/qtci-macos-15-arm/06-disable_spotlight.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/disable_spotlight.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/disable_spotlight.sh"
|
||||
6
coin/provisioning/qtci-macos-15-arm/06-disable_update_downloads.sh
Executable file
6
coin/provisioning/qtci-macos-15-arm/06-disable_update_downloads.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR"/../common/macos/disable_update_downloads.sh
|
||||
11
coin/provisioning/qtci-macos-15-arm/07-SSL_keychain.sh
Executable file
11
coin/provisioning/qtci-macos-15-arm/07-SSL_keychain.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
# Enables the usage of temporary keychains for SSL autotests
|
||||
SetEnvVar "QT_SSL_USE_TEMPORARY_KEYCHAIN" "1"
|
||||
32
coin/provisioning/qtci-macos-15-arm/15-xz.sh
Executable file
32
coin/provisioning/qtci-macos-15-arm/15-xz.sh
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2021 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
|
||||
|
||||
# This script installs XZ-Utils
|
||||
|
||||
# XZ-Utils are needed for uncompressing xz-compressed files
|
||||
|
||||
# pkg was self builded.
|
||||
# wget https://downloads.sourceforge.net/project/lzmautils/xz-5.2.5.tar.gz
|
||||
# tar -xzf xz-5.2.5.tar.gz -C /tmp
|
||||
# cd /tmp/xz-5.2.5
|
||||
# ./configure
|
||||
# make
|
||||
# ./configure prefix=/tmp/destination_root
|
||||
# make install
|
||||
# cd /tmp
|
||||
# pkgbuild --root destination_root --identifier io.qt.xz.pkg xz-arm64.pkg
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/InstallPKGFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_11.0_big_sur_arm/xz-arm64.pkg"
|
||||
# SourceUrl="https://tukaani.org/xz/xz-5.2.5.tar.gz"
|
||||
|
||||
SHA1="1afc327965d4af33399ae28f22c4b8e5a9e98dc2"
|
||||
DestDir="/"
|
||||
|
||||
InstallPKGFromURL "$PrimaryUrl" "$PrimaryUrl" "$SHA1" "$DestDir"
|
||||
|
||||
echo "XZ = 5.2.5" >> ~/versions.txt
|
||||
7
coin/provisioning/qtci-macos-15-arm/20-java.sh
Executable file
7
coin/provisioning/qtci-macos-15-arm/20-java.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/java_arm.sh"
|
||||
22
coin/provisioning/qtci-macos-15-arm/20-xcode.sh
Executable file
22
coin/provisioning/qtci-macos-15-arm/20-xcode.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/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
|
||||
|
||||
# This script installs Xcode
|
||||
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
|
||||
# This can be achieved by fetching Xcode_9.xip from Apple Store.
|
||||
# Uncompress it with 'xar -xf Xcode_9.xip'
|
||||
# Then get https://gist.githubusercontent.com/pudquick/ff412bcb29c9c1fa4b8d/raw/24b25538ea8df8d0634a2a6189aa581ccc6a5b4b/parse_pbzx2.py
|
||||
# with which you can run 'python parse_pbzx2.py Content'.
|
||||
# This will give you five files called "Content.part<00..05>.cpio.xz".
|
||||
# Extract those that have the extension .xz with xz.
|
||||
# "cat" together all the content files "cat file1, file2, file3, file4, file5 >file_new"
|
||||
# Compress the new file with xz back to something like Xcode_9.xz
|
||||
# Upload the file to temporary storage for this script to use.
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/install_xcode.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
|
||||
|
||||
InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_16.xip 16
|
||||
14
coin/provisioning/qtci-macos-15-arm/21-install-commandlinetools.sh
Executable file
14
coin/provisioning/qtci-macos-15-arm/21-install-commandlinetools.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-commandlinetools.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
|
||||
version="16"
|
||||
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
|
||||
url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
|
||||
sha1="c6f1a7521d5da50c2bba3d83c0f3ee7df6d87d28"
|
||||
|
||||
InstallCommandLineTools $url $url $sha1 $packageName $version
|
||||
12
coin/provisioning/qtci-macos-15-arm/23-homebrew.sh
Executable file
12
coin/provisioning/qtci-macos-15-arm/23-homebrew.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2025 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
|
||||
|
||||
INSTALLTYPE="PKG"
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
# Usage "$BASEDIR/../common/macos/homebrew.sh" "$INSTALLTYPE" "$HOMEBREW_VERSION" "$HOMEBREW_HASH"
|
||||
# Specify HOMEBREW_VERSION and HOMEBREW_HASH only if defaults set in homebrew.sh are not suitable for this platform
|
||||
"$BASEDIR/../common/macos/homebrew.sh" "$INSTALLTYPE"
|
||||
49
coin/provisioning/qtci-macos-15-arm/24-pyenv.sh
Executable file
49
coin/provisioning/qtci-macos-15-arm/24-pyenv.sh
Executable file
@@ -0,0 +1,49 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2021 The Qt Company Ltd.
|
||||
## Copyright (C) 2017 Pelagicore AG
|
||||
## Contact: https://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and The Qt Company. For licensing terms
|
||||
## and conditions see https://www.qt.io/terms-conditions. For further
|
||||
## information use the contact form at https://www.qt.io/contact-us.
|
||||
##
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 3 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 3 requirements
|
||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||
##
|
||||
## GNU General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU
|
||||
## General Public License version 2.0 or (at your option) the GNU General
|
||||
## Public license version 3 or any later version approved by the KDE Free
|
||||
## Qt Foundation. The licenses are as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
## included in the packaging of this file. Please review the following
|
||||
## information to ensure the GNU General Public License requirements will
|
||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script installs python3
|
||||
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
# Try with default
|
||||
/opt/homebrew/bin/brew install pyenv
|
||||
3
coin/provisioning/qtci-macos-15-arm/24-sccache.sh
Executable file
3
coin/provisioning/qtci-macos-15-arm/24-sccache.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/macos/sccache.sh"
|
||||
8
coin/provisioning/qtci-macos-15-arm/25-cmake.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/25-cmake.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/cmake.sh"
|
||||
27
coin/provisioning/qtci-macos-15-arm/25-mysql.sh
Executable file
27
coin/provisioning/qtci-macos-15-arm/25-mysql.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2020 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
|
||||
|
||||
# This script installs MySQL
|
||||
|
||||
# MySQL is needed for Qt to be able to support MySQL
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/InstallAppFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
|
||||
appPrefix=""
|
||||
targetDir="/opt/mysql57/"
|
||||
|
||||
sudo mkdir -p "/opt"
|
||||
|
||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix" "$targetDir"
|
||||
|
||||
SetEnvVar "MYSQLBINPATH" "/opt/mysql57/bin"
|
||||
echo "MySQL = 5.7.15" >> ~/versions.txt
|
||||
8
coin/provisioning/qtci-macos-15-arm/25-pip.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/25-pip.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/pip.sh"
|
||||
7
coin/provisioning/qtci-macos-15-arm/25-postgresql.sh
Executable file
7
coin/provisioning/qtci-macos-15-arm/25-postgresql.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/postgresql.sh"
|
||||
21
coin/provisioning/qtci-macos-15-arm/25-python.sh
Executable file
21
coin/provisioning/qtci-macos-15-arm/25-python.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2021 The Qt Company Ltd.
|
||||
# Copyright (C) 2017 Pelagicore AG
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# This script installs python3
|
||||
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
pyenv install 3.9.7
|
||||
|
||||
/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user virtualenv wheel html5lib
|
||||
/Users/qt/.pyenv/versions/3.9.7/bin/pip3 install --user -r ${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt
|
||||
|
||||
SetEnvVar "PYTHON3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
|
||||
SetEnvVar "PIP3_PATH" "/Users/qt/.pyenv/versions/3.9.7/bin/"
|
||||
# Use 3.9 as a default python
|
||||
SetEnvVar "PATH" "\$PYTHON3_PATH:\$PATH"
|
||||
|
||||
echo "python3 = 3.9.7" >> ~/versions.txt
|
||||
7
coin/provisioning/qtci-macos-15-arm/26-freetype.sh
Executable file
7
coin/provisioning/qtci-macos-15-arm/26-freetype.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
brew install freetype
|
||||
5
coin/provisioning/qtci-macos-15-arm/26-jq.sh
Executable file
5
coin/provisioning/qtci-macos-15-arm/26-jq.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
brew install jq
|
||||
10
coin/provisioning/qtci-macos-15-arm/26-ninja.sh
Executable file
10
coin/provisioning/qtci-macos-15-arm/26-ninja.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/ninja.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/ninja.sh"
|
||||
|
||||
|
||||
9
coin/provisioning/qtci-macos-15-arm/26-odbc.sh
Executable file
9
coin/provisioning/qtci-macos-15-arm/26-odbc.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
# Install libiodbc
|
||||
|
||||
set -ex
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/libiodbc.sh" --with-universal
|
||||
9
coin/provisioning/qtci-macos-15-arm/26-p7zip.sh
Executable file
9
coin/provisioning/qtci-macos-15-arm/26-p7zip.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
# Install 7z to be used from command line
|
||||
|
||||
set -ex
|
||||
|
||||
brew update
|
||||
brew install p7zip
|
||||
7
coin/provisioning/qtci-macos-15-arm/26-pcre2.sh
Executable file
7
coin/provisioning/qtci-macos-15-arm/26-pcre2.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
brew install pcre2
|
||||
9
coin/provisioning/qtci-macos-15-arm/27-libclang.sh
Executable file
9
coin/provisioning/qtci-macos-15-arm/27-libclang.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
# There is only one mac package and common script uses it as a default
|
||||
"$BASEDIR/../common/unix/libclang.sh"
|
||||
8
coin/provisioning/qtci-macos-15-arm/28-libclang-v100-dyn.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/28-libclang-v100-dyn.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
|
||||
6
coin/provisioning/qtci-macos-15-arm/29-install-pkgconfig.sh
Executable file
6
coin/provisioning/qtci-macos-15-arm/29-install-pkgconfig.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/pkgconfig.sh"
|
||||
64
coin/provisioning/qtci-macos-15-arm/30-android.sh
Executable file
64
coin/provisioning/qtci-macos-15-arm/30-android.sh
Executable file
@@ -0,0 +1,64 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2020 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
|
||||
|
||||
# This script install Android sdk and ndk.
|
||||
|
||||
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
targetFolder="/opt/android"
|
||||
sdkTargetFolder="$targetFolder/sdk"
|
||||
|
||||
basePath="/net/ci-files01-hki.ci.qt.io/hdd/www/input/android"
|
||||
|
||||
toolsVersion="2.1"
|
||||
# toolsFile dertermines tools version
|
||||
toolsFile="commandlinetools-mac-6609375_latest.zip"
|
||||
|
||||
ndkVersion="r27c"
|
||||
ndkFile="android-ndk-$ndkVersion-darwin.zip"
|
||||
sdkBuildToolsVersion="35.0.1"
|
||||
# this is compile sdk version
|
||||
sdkApiLevel="android-35"
|
||||
|
||||
toolsSourceFile="$basePath/$toolsFile"
|
||||
ndkSourceFile="$basePath/$ndkFile"
|
||||
|
||||
echo "Unzipping Android NDK to '$targetFolder'"
|
||||
sudo unzip -q "$ndkSourceFile" -d "$targetFolder"
|
||||
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
||||
sudo unzip -q "$toolsSourceFile" -d "$sdkTargetFolder"
|
||||
|
||||
echo "Changing ownership of Android files."
|
||||
sudo chown -R qt:wheel "$targetFolder"
|
||||
|
||||
# Run the following command under `eval` or `sh -c` so that the shell properly splits it
|
||||
sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
|
||||
|
||||
sudo mkdir "$sdkTargetFolder/cmdline-tools"
|
||||
sudo mv "$sdkTargetFolder/tools" "$sdkTargetFolder/cmdline-tools"
|
||||
|
||||
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||
(echo "y"; echo "y") | "$sdkTargetFolder/cmdline-tools/tools/bin/sdkmanager" "--sdk_root=$sdkTargetFolder" \
|
||||
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
|
||||
| eval "$sdkmanager_no_progress_bar_cmd"
|
||||
|
||||
echo "Checking the contents of Android SDK..."
|
||||
ls -l "$sdkTargetFolder"
|
||||
|
||||
SetEnvVar "ANDROID_SDK_ROOT" "$sdkTargetFolder"
|
||||
SetEnvVar "ANDROID_NDK_ROOT" "$targetFolder/android-ndk-$ndkVersion"
|
||||
SetEnvVar "ANDROID_NDK_HOST" "darwin-x86_64"
|
||||
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
|
||||
|
||||
cat << EOB >> ~/versions.txt
|
||||
Android SDK tools = $toolsVersion
|
||||
Android SDK Build Tools = $sdkBuildToolsVersion
|
||||
Android SDK API level = $sdkApiLevel
|
||||
Android NDK = $ndkVersion
|
||||
EOB
|
||||
9
coin/provisioning/qtci-macos-15-arm/30-fbx.sh
Executable file
9
coin/provisioning/qtci-macos-15-arm/30-fbx.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/fbx_macos.sh"
|
||||
|
||||
8
coin/provisioning/qtci-macos-15-arm/30-install-conan.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/30-install-conan.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/install-conan.sh"
|
||||
8
coin/provisioning/qtci-macos-15-arm/30-nodejs.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/30-nodejs.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
brew install nodejs
|
||||
|
||||
8
coin/provisioning/qtci-macos-15-arm/35-install-breakpad.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/35-install-breakpad.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/unix/install-breakpad.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
|
||||
9
coin/provisioning/qtci-macos-15-arm/35-install_protobuf.sh
Executable file
9
coin/provisioning/qtci-macos-15-arm/35-install_protobuf.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2020 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/unix/install_protobuf.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
|
||||
|
||||
9
coin/provisioning/qtci-macos-15-arm/35-openssl.sh
Executable file
9
coin/provisioning/qtci-macos-15-arm/35-openssl.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/unix/install-openssl.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
|
||||
|
||||
8
coin/provisioning/qtci-macos-15-arm/36-emsdk.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/36-emsdk.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/unix/emsdk.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh"
|
||||
10
coin/provisioning/qtci-macos-15-arm/36-install_grpc.sh
Executable file
10
coin/provisioning/qtci-macos-15-arm/36-install_grpc.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2022 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/unix/install_grpc.sh
|
||||
# Temporarily disabled due to OpenSSL linking errors
|
||||
#source "${BASH_SOURCE%/*}/../common/unix/install_grpc.sh"
|
||||
|
||||
25
coin/provisioning/qtci-macos-15-arm/40-qnx700.sh
Executable file
25
coin/provisioning/qtci-macos-15-arm/40-qnx700.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
# Copyright (C) 2020 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
|
||||
|
||||
# This script installs QNX 7.
|
||||
|
||||
targetFolder="/opt/"
|
||||
sourceFile="/net/ci-files01-hki.ci.qt.io/hdd/www/input/qnx/qnx700-20190325-2-macos.tar.xz"
|
||||
folderName="qnx700"
|
||||
|
||||
sudo mkdir -p "$targetFolder"
|
||||
|
||||
echo "Extracting QNX 7"
|
||||
sudo tar -C "$targetFolder" -Jxf $sourceFile
|
||||
|
||||
sudo chown -R qt:wheel "$targetFolder"/"$folderName"
|
||||
|
||||
# Verify that we have last file in zip
|
||||
if [ ! -f $targetFolder/$folderName/qnxsdp-env.sh ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Set env variables
|
||||
echo "export QNX_700=$targetFolder/$folderName" >> ~/.bashrc
|
||||
echo "QNX SDP = 7.0.0" >> ~/versions.txt
|
||||
6
coin/provisioning/qtci-macos-15-arm/80-screenresolution.sh
Executable file
6
coin/provisioning/qtci-macos-15-arm/80-screenresolution.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
"$(dirname "$0")"/../common/macos/screenresolution.sh
|
||||
|
||||
10
coin/provisioning/qtci-macos-15-arm/81-bluetooth.sh
Executable file
10
coin/provisioning/qtci-macos-15-arm/81-bluetooth.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
brew install blueutil
|
||||
|
||||
#Disable Bluetooth
|
||||
blueutil -p 0
|
||||
9
coin/provisioning/qtci-macos-15-arm/90-docker.sh
Executable file
9
coin/provisioning/qtci-macos-15-arm/90-docker.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/docker.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/docker.sh" "arm64"
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
|
||||
set -ex
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "macos-universal"
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install-ffmpeg-macos.sh" "macos-universal"
|
||||
#source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-arm64"
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-ios.sh"
|
||||
|
||||
8
coin/provisioning/qtci-macos-15-arm/90-vlc.sh
Normal file
8
coin/provisioning/qtci-macos-15-arm/90-vlc.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
# for QtMM streaming tests
|
||||
brew install --cask vlc
|
||||
8
coin/provisioning/qtci-macos-15-arm/97-set-locale.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/97-set-locale.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/set-locale.sh"
|
||||
5
coin/provisioning/qtci-macos-15-arm/98-mimersql.sh
Executable file
5
coin/provisioning/qtci-macos-15-arm/98-mimersql.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/mimersql.sh" "macos-universal"
|
||||
8
coin/provisioning/qtci-macos-15-arm/99-mac-version.sh
Executable file
8
coin/provisioning/qtci-macos-15-arm/99-mac-version.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/macos-version.sh"
|
||||
3
coin/provisioning/qtci-macos-15-x86_64/01-disable-net-lso.sh
Executable file
3
coin/provisioning/qtci-macos-15-x86_64/01-disable-net-lso.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/macos/disable_net_lso.sh
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/macos/disable-notifications_and_warnings.sh
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/01-disable-updates.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/01-disable-updates.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/system_updates.sh"
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/enable_zsh_history_and_viminfo.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/enable_zsh_history_and_viminfo.sh"
|
||||
3
coin/provisioning/qtci-macos-15-x86_64/01-increase_limits.sh
Executable file
3
coin/provisioning/qtci-macos-15-x86_64/01-increase_limits.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/macos/increase_limits.sh
|
||||
3
coin/provisioning/qtci-macos-15-x86_64/01-install_telegraf.sh
Executable file
3
coin/provisioning/qtci-macos-15-x86_64/01-install_telegraf.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
"$(dirname "$0")"/../common/macos/telegraf_install.sh
|
||||
8
coin/provisioning/qtci-macos-15-x86_64/01-mount-vcpkg-cache-drive.sh
Executable file
8
coin/provisioning/qtci-macos-15-x86_64/01-mount-vcpkg-cache-drive.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 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/mount-vcpkg-cache-drive.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/mount-vcpkg-cache-drive.sh"
|
||||
10
coin/provisioning/qtci-macos-15-x86_64/01-sha1sum-compatibility.sh
Executable file
10
coin/provisioning/qtci-macos-15-x86_64/01-sha1sum-compatibility.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 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
|
||||
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/sha1sum-compatibility.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/sha1sum-compatibility.sh"
|
||||
9
coin/provisioning/qtci-macos-15-x86_64/03-bashprofile.sh
Executable file
9
coin/provisioning/qtci-macos-15-x86_64/03-bashprofile.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env sh
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
# Read .bashrc if exist
|
||||
printf -- "# Get the aliases and functions\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n" >> ~/.bash_profile
|
||||
|
||||
84
coin/provisioning/qtci-macos-15-x86_64/05-systemsetup.sh
Executable file
84
coin/provisioning/qtci-macos-15-x86_64/05-systemsetup.sh
Executable file
@@ -0,0 +1,84 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 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
|
||||
|
||||
# This script modifies system settings for automated use
|
||||
|
||||
targetFile="$HOME/vncpw.txt"
|
||||
|
||||
# Fetch password
|
||||
curl --retry 5 --retry-delay 10 --retry-max-time 60 \
|
||||
"http://ci-files01-hki.ci.qt.io/input/semisecure/vncpw.txt" \
|
||||
-o "$targetFile"
|
||||
shasum "$targetFile" |grep "a795fccaa8f277e62ec08e6056c544b8b63924a0"
|
||||
|
||||
{ VNCPassword=$(cat "$targetFile"); } 2> /dev/null
|
||||
NTS_IP=10.212.2.216
|
||||
|
||||
echo "Disable Screensaver"
|
||||
# For current session
|
||||
defaults -currentHost write com.apple.screensaver idleTime 0
|
||||
|
||||
echo "Disable sleep"
|
||||
sudo pmset sleep 0 displaysleep 0
|
||||
|
||||
# For session after a reboot
|
||||
mkdir -p "$HOME/Library/LaunchAgents"
|
||||
sudo tee -a "$HOME/Library/LaunchAgents/no-screensaver.plist" <<EOT
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>org.qt.io.screensaver_disable</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>defaults</string>
|
||||
<string>-currentHost</string>
|
||||
<string>write</string>
|
||||
<string>com.apple.screensaver</string>
|
||||
<string>idleTime</string>
|
||||
<string>0</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
EOT
|
||||
|
||||
defaults write com.apple.screensaver askForPassword -int 0
|
||||
|
||||
echo "Set keyboard type rates and delays"
|
||||
# normal minimum is 15 (225 ms)
|
||||
defaults write -g InitialKeyRepeat -int 15
|
||||
# normal minimum is 2 (30 ms)
|
||||
defaults write -g KeyRepeat -int 2
|
||||
|
||||
set +x
|
||||
echo "Enable remote desktop sharing"
|
||||
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
|
||||
-activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts \
|
||||
-setvncpw -vncpw "$VNCPassword" -restart -agent -privs -all
|
||||
set -x
|
||||
|
||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||
|
||||
sudo systemsetup settimezone GMT
|
||||
sudo systemsetup setusingnetworktime off
|
||||
sudo rm -f "$targetFile"
|
||||
|
||||
# Enable automount for nfs shares
|
||||
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
|
||||
sudo automount -cv
|
||||
|
||||
# Disable multicast advertisements
|
||||
sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
|
||||
|
||||
# Enable Use keyboard navigation to move focus between controls
|
||||
defaults write -g AppleKeyboardUIMode -int 2
|
||||
12
coin/provisioning/qtci-macos-15-x86_64/06-crashreporter.sh
Executable file
12
coin/provisioning/qtci-macos-15-x86_64/06-crashreporter.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
defaults write com.apple.CrashReporter DialogType server
|
||||
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
SetEnvVar "SWIFT_BACKTRACE" "enable=yes,output-to=stderr,preset=medium,interactive=false"
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/06-disable_spotlight.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/06-disable_spotlight.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/disable_spotlight.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/disable_spotlight.sh"
|
||||
6
coin/provisioning/qtci-macos-15-x86_64/06-disable_update_downloads.sh
Executable file
6
coin/provisioning/qtci-macos-15-x86_64/06-disable_update_downloads.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR"/../common/macos/disable_update_downloads.sh
|
||||
11
coin/provisioning/qtci-macos-15-x86_64/07-SSL_keychain.sh
Executable file
11
coin/provisioning/qtci-macos-15-x86_64/07-SSL_keychain.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
# Enables the usage of temporary keychains for SSL autotests
|
||||
SetEnvVar "QT_SSL_USE_TEMPORARY_KEYCHAIN" "1"
|
||||
21
coin/provisioning/qtci-macos-15-x86_64/15-xz.sh
Executable file
21
coin/provisioning/qtci-macos-15-x86_64/15-xz.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 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
|
||||
|
||||
# This script installs XZ-Utils
|
||||
|
||||
# XZ-Utils are needed for uncompressing xz-compressed files
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/InstallPKGFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
|
||||
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
|
||||
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
|
||||
DestDir="/"
|
||||
|
||||
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
||||
|
||||
echo "XZ = 5.0.7" >> ~/versions.txt
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/20-java.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/20-java.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/java.sh"
|
||||
22
coin/provisioning/qtci-macos-15-x86_64/20-xcode.sh
Executable file
22
coin/provisioning/qtci-macos-15-x86_64/20-xcode.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/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
|
||||
|
||||
# This script installs Xcode
|
||||
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
|
||||
# This can be achieved by fetching Xcode_9.xip from Apple Store.
|
||||
# Uncompress it with 'xar -xf Xcode_9.xip'
|
||||
# Then get https://gist.githubusercontent.com/pudquick/ff412bcb29c9c1fa4b8d/raw/24b25538ea8df8d0634a2a6189aa581ccc6a5b4b/parse_pbzx2.py
|
||||
# with which you can run 'python parse_pbzx2.py Content'.
|
||||
# This will give you five files called "Content.part<00..05>.cpio.xz".
|
||||
# Extract those that have the extension .xz with xz.
|
||||
# "cat" together all the content files "cat file1, file2, file3, file4, file5 >file_new"
|
||||
# Compress the new file with xz back to something like Xcode_9.xz
|
||||
# Upload the file to temporary storage for this script to use.
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/install_xcode.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
|
||||
|
||||
InstallXCode /net/ci-files01-hki.ci.qt.io/hdd/www/input/mac/Xcode_16.xip 16
|
||||
14
coin/provisioning/qtci-macos-15-x86_64/21-install-commandlinetools.sh
Executable file
14
coin/provisioning/qtci-macos-15-x86_64/21-install-commandlinetools.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-commandlinetools.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
|
||||
version="16"
|
||||
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
|
||||
url="http://ci-files01-hki.ci.qt.io/input/mac/$packageName"
|
||||
sha1="c6f1a7521d5da50c2bba3d83c0f3ee7df6d87d28"
|
||||
|
||||
InstallCommandLineTools $url $url $sha1 $packageName $version
|
||||
3
coin/provisioning/qtci-macos-15-x86_64/24-sccache.sh
Executable file
3
coin/provisioning/qtci-macos-15-x86_64/24-sccache.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/macos/sccache.sh"
|
||||
8
coin/provisioning/qtci-macos-15-x86_64/25-cmake.sh
Executable file
8
coin/provisioning/qtci-macos-15-x86_64/25-cmake.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/cmake.sh"
|
||||
12
coin/provisioning/qtci-macos-15-x86_64/25-homebrew.sh
Executable file
12
coin/provisioning/qtci-macos-15-x86_64/25-homebrew.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2025 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
|
||||
|
||||
INSTALLTYPE="PKG"
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
# Usage "$BASEDIR/../common/macos/homebrew.sh" "$INSTALLTYPE" "$HOMEBREW_VERSION" "$HOMEBREW_HASH"
|
||||
# Specify HOMEBREW_VERSION and HOMEBREW_HASH only if defaults set in homebrew.sh are not suitable for this platform
|
||||
"$BASEDIR/../common/macos/homebrew.sh" "$INSTALLTYPE"
|
||||
27
coin/provisioning/qtci-macos-15-x86_64/25-mysql.sh
Executable file
27
coin/provisioning/qtci-macos-15-x86_64/25-mysql.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 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
|
||||
|
||||
# This script installs MySQL
|
||||
|
||||
# MySQL is needed for Qt to be able to support MySQL
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/InstallAppFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
|
||||
appPrefix=""
|
||||
targetDir="/opt/mysql57/"
|
||||
|
||||
sudo mkdir -p "/opt"
|
||||
|
||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix" "$targetDir"
|
||||
|
||||
SetEnvVar "MYSQLBINPATH" "/opt/mysql57/bin"
|
||||
echo "MySQL = 5.7.15" >> ~/versions.txt
|
||||
8
coin/provisioning/qtci-macos-15-x86_64/25-pip.sh
Executable file
8
coin/provisioning/qtci-macos-15-x86_64/25-pip.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/pip.sh"
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/25-postgresql.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/25-postgresql.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/postgresql.sh"
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/25-python2.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/25-python2.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/python2.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/python2.sh"
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/25-python3.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/25-python3.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/python3.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/python3.sh"
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/26-freetype.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/26-freetype.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
brew install freetype
|
||||
5
coin/provisioning/qtci-macos-15-x86_64/26-jq.sh
Executable file
5
coin/provisioning/qtci-macos-15-x86_64/26-jq.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
brew install jq
|
||||
10
coin/provisioning/qtci-macos-15-x86_64/26-ninja.sh
Executable file
10
coin/provisioning/qtci-macos-15-x86_64/26-ninja.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/ninja.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/ninja.sh"
|
||||
|
||||
|
||||
9
coin/provisioning/qtci-macos-15-x86_64/26-odbc.sh
Executable file
9
coin/provisioning/qtci-macos-15-x86_64/26-odbc.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
# Install libiodbc
|
||||
|
||||
set -ex
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/libiodbc.sh" --with-universal
|
||||
9
coin/provisioning/qtci-macos-15-x86_64/26-p7zip.sh
Executable file
9
coin/provisioning/qtci-macos-15-x86_64/26-p7zip.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
# Install 7z to be used from command line
|
||||
|
||||
set -ex
|
||||
|
||||
brew update
|
||||
brew install p7zip
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/26-pcre2.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/26-pcre2.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
brew install pcre2
|
||||
9
coin/provisioning/qtci-macos-15-x86_64/27-libclang.sh
Executable file
9
coin/provisioning/qtci-macos-15-x86_64/27-libclang.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
# There is only one mac package and common script uses it as a default
|
||||
"$BASEDIR/../common/unix/libclang.sh"
|
||||
8
coin/provisioning/qtci-macos-15-x86_64/28-libclang-v100-dyn.sh
Executable file
8
coin/provisioning/qtci-macos-15-x86_64/28-libclang-v100-dyn.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/28-patchelf.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/28-patchelf.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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
|
||||
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-patchelf.sh"
|
||||
6
coin/provisioning/qtci-macos-15-x86_64/29-install-pkgconfig.sh
Executable file
6
coin/provisioning/qtci-macos-15-x86_64/29-install-pkgconfig.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ex
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/pkgconfig.sh"
|
||||
9
coin/provisioning/qtci-macos-15-x86_64/29-libusb.sh
Executable file
9
coin/provisioning/qtci-macos-15-x86_64/29-libusb.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
|
||||
"$BASEDIR/../common/macos/libusb.sh"
|
||||
8
coin/provisioning/qtci-macos-15-x86_64/30-android.sh
Executable file
8
coin/provisioning/qtci-macos-15-x86_64/30-android.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/android.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/android.sh"
|
||||
9
coin/provisioning/qtci-macos-15-x86_64/30-fbx.sh
Executable file
9
coin/provisioning/qtci-macos-15-x86_64/30-fbx.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/fbx_macos.sh"
|
||||
|
||||
8
coin/provisioning/qtci-macos-15-x86_64/30-install-conan.sh
Executable file
8
coin/provisioning/qtci-macos-15-x86_64/30-install-conan.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/unix/install-conan.sh" "macos"
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/30-nodejs.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/30-nodejs.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
"$BASEDIR/../common/macos/nodejs.sh"
|
||||
8
coin/provisioning/qtci-macos-15-x86_64/35-install-breakpad.sh
Executable file
8
coin/provisioning/qtci-macos-15-x86_64/35-install-breakpad.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/unix/install-breakpad.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
|
||||
9
coin/provisioning/qtci-macos-15-x86_64/35-install_protobuf.sh
Executable file
9
coin/provisioning/qtci-macos-15-x86_64/35-install_protobuf.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 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/unix/install_protobuf.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
|
||||
|
||||
9
coin/provisioning/qtci-macos-15-x86_64/35-openssl.sh
Executable file
9
coin/provisioning/qtci-macos-15-x86_64/35-openssl.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/unix/install-openssl.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "macos-universal"
|
||||
|
||||
8
coin/provisioning/qtci-macos-15-x86_64/36-emsdk.sh
Executable file
8
coin/provisioning/qtci-macos-15-x86_64/36-emsdk.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#Copyright (C) 2023 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/unix/emsdk.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/emsdk.sh"
|
||||
7
coin/provisioning/qtci-macos-15-x86_64/50-openssl_for_android_darwin.sh
Executable file
7
coin/provisioning/qtci-macos-15-x86_64/50-openssl_for_android_darwin.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 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/unix/openssl_for_android.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/openssl_for_android.sh"
|
||||
6
coin/provisioning/qtci-macos-15-x86_64/80-screenresolution.sh
Executable file
6
coin/provisioning/qtci-macos-15-x86_64/80-screenresolution.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
#Copyright (C) 2023 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
|
||||
|
||||
"$(dirname "$0")"/../common/macos/screenresolution.sh
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user