First Commit
This commit is contained in:
22
3rdparty/kddockwidgets/.github/actions/qt6-lsan/Dockerfile
vendored
Normal file
22
3rdparty/kddockwidgets/.github/actions/qt6-lsan/Dockerfile
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# This file is part of KDDockWidgets.
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
|
||||
# Author: Sérgio Martins <sergio.martins@kdab.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
|
||||
#
|
||||
# Contact KDAB at <info@kdab.com> for commercial licensing options.
|
||||
|
||||
# Dockerfile for qt6-asan GitHub Action
|
||||
|
||||
FROM iamsergio/kddw-qt6-asan
|
||||
MAINTAINER Sergio Martins (sergio.martins@kdab.com)
|
||||
|
||||
ENV PATH=$PATH:/Qt6/bin/
|
||||
ENV LD_LIBRARY_PATH=/Qt6/lib/
|
||||
ENV QT_QUICK_BACKEND=software
|
||||
ENV LSAN_OPTIONS=detect_leaks=1
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
4
3rdparty/kddockwidgets/.github/actions/qt6-lsan/README.md
vendored
Normal file
4
3rdparty/kddockwidgets/.github/actions/qt6-lsan/README.md
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
# qt6-asan
|
||||
|
||||
An action that builds and runs KDDW's tests against an LSAN build
|
||||
The Dockerfile clones and builds Qt6 with ASAN.
|
||||
9
3rdparty/kddockwidgets/.github/actions/qt6-lsan/action.yml
vendored
Normal file
9
3rdparty/kddockwidgets/.github/actions/qt6-lsan/action.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
name: 'build-against-qt6-lsan'
|
||||
description: 'Builds and runs KDDW tests against a Qt6 built with LSAN'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
9
3rdparty/kddockwidgets/.github/actions/qt6-lsan/entrypoint.sh
vendored
Executable file
9
3rdparty/kddockwidgets/.github/actions/qt6-lsan/entrypoint.sh
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh -l
|
||||
|
||||
# SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
|
||||
cd /github/workspace/ || exit 1
|
||||
env
|
||||
cmake --preset=ci-dev-asan-qtwidgets-qt6 -DCMAKE_PREFIX_PATH=/Qt6 && cd build-ci-dev-asan-qtwidgets-qt6/ && ninja && ctest -j4 --output-on-failure && cd .. &&
|
||||
cmake --preset=ci-dev-asan-qtquick-qt6 -DCMAKE_PREFIX_PATH=/Qt6 && cd build-ci-dev-asan-qtquick-qt6/ && ninja && ctest -j4 --output-on-failure
|
||||
Reference in New Issue
Block a user