diff options
author | Dominik Holland <dominik.holland@qt.io> | 2024-02-22 13:41:50 +0100 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2024-02-27 06:14:46 +0100 |
commit | 18287421fd31a9464c66a00f5f8b404e9af771ef (patch) | |
tree | 8c8afaf8694c7bc294e34fc286ae0da9ef594555 /coin | |
parent | c6d5521c45669061df6630cff3f1434817d5b774 (diff) |
Add a ubuntu lcov nightly configuration
Also install lcov 2.0 into our ubuntu machines.
Change-Id: Ib70445c94ae1dab07b9b58ba58900b12f7d23161
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Reviewed-by: Simo Fält <simo.falt@qt.io>
Diffstat (limited to 'coin')
-rw-r--r-- | coin/platform_configs/nightly_ubuntu_22_04_lcov.yaml | 14 | ||||
-rwxr-xr-x | coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-lcov.sh | 9 |
2 files changed, 23 insertions, 0 deletions
diff --git a/coin/platform_configs/nightly_ubuntu_22_04_lcov.yaml b/coin/platform_configs/nightly_ubuntu_22_04_lcov.yaml new file mode 100644 index 00000000..a870f2a3 --- /dev/null +++ b/coin/platform_configs/nightly_ubuntu_22_04_lcov.yaml @@ -0,0 +1,14 @@ +Version: 2 +Module only: True +Configurations: +- + Id: 'ubuntu-22.04-lcov' + Template: 'qtci-linux-Ubuntu-22.04-x86_64-51' + Compiler: 'GCC' + Features: ['Sccache', 'UseConfigure', 'lcov', 'VMSize8'] + Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput' + Environment variables: [ + 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY', + 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}' + ] + diff --git a/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-lcov.sh b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-lcov.sh new file mode 100755 index 00000000..de4a74d5 --- /dev/null +++ b/coin/provisioning/qtci-linux-Ubuntu-22.04-x86_64/93-lcov.sh @@ -0,0 +1,9 @@ +#!/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 + +# Install lcov 2.0 from 24.04/noble numbat + +echo "Installing lcov" +wget https://ci-files01-hki.ci.qt.io/input/lcov/lcov_2.0-4ubuntu1_all.deb +sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o DPkg::Lock::Timeout=300 install -f ./lcov_2.0-4ubuntu1_all.deb |