mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-19 19:46:16 +08:00
OpenSUSE 15.5 will replace 15.4 in yaml configurations at first and OpenSUSE 15.4 scripts are still kept for some time. OpenSUSE 15.4 scripts will be removed later. Task-number: QTQAINFRA-5666 Change-Id: Ic04dee5935b2d0ea9b99dd103f796d38ea90ba2d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
25 lines
865 B
Bash
25 lines
865 B
Bash
#!/usr/bin/env bash
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
|
set -ex
|
|
|
|
# This script will install up-to-date google Chrome needed for Webassembly auto tests.
|
|
|
|
# shellcheck source=../common/unix/DownloadURL.sh
|
|
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
|
|
|
# Webassembly auto tests run requires latest Chrome. Let's use the latest stable one which means we can't cache this
|
|
sudo zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
|
|
|
|
# Add the Google public signing key
|
|
externalUrl="https://dl.google.com/linux/linux_signing_key.pub"
|
|
Download "$externalUrl" "/tmp/linux_signing_key.pub"
|
|
sudo rpm --import /tmp/linux_signing_key.pub
|
|
|
|
# Update the repo cache of zypper and install Chrome
|
|
sudo zypper ref -f
|
|
sudo zypper -nq install --no-confirm google-chrome-stable
|
|
|
|
# Install Chromedriver Chromium
|
|
sudo zypper -nq install chromedriver
|
|
|