mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-06 15:06:52 +08:00
Adding all builds Wayland which is the default display
server for Ubuntu. Testing each module in X11, and
testing Wayland client plugin for each module in
Qt Wayland integration. [CI Platforms]
TestDocs was removed, see also QTQAINFRA-6068.
Task-number: QTQAINFRA-6322
Task-number: QTQAINFRA-6098
Task-number: QTQAINFRA-6203
Change-Id: I8db0d861940bdd558384f1cc24243c6a84e133e2
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 5a79cf9168)
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
25 lines
711 B
Bash
Executable File
25 lines
711 B
Bash
Executable File
#!/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
|
|
|
|
# shellcheck source=../unix/SetEnvVar.sh
|
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
|
|
# This script will install Conan
|
|
# Note! Python3 is required for Conan installation
|
|
|
|
os="$1"
|
|
params="$2"
|
|
|
|
# Install Conan to Python user install directory (typically ~./local/)
|
|
pip3 install conan --user $params
|
|
|
|
SetEnvVar "CONAN_REVISIONS_ENABLED" "1"
|
|
SetEnvVar "CONAN_V2_MODE" "1"
|
|
|
|
if [ "$os" == "linux" ]; then
|
|
SetEnvVar "PATH" "/home/qt/.local/bin:\$PATH"
|
|
elif [ "$os" == "macos" ]; then
|
|
SetEnvVar "PATH" "/Users/qt/Library/Python/3.7/bin:\$PATH"
|
|
fi
|