First Commit
This commit is contained in:
49
3rdparty/kddockwidgets/.github/workflows/external-3rdparty-build.yml
vendored
Normal file
49
3rdparty/kddockwidgets/.github/workflows/external-3rdparty-build.yml
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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 external nlohmann and KDBindings
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- 2.2
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- 2.2
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-13
|
||||
steps:
|
||||
- name: Install Qt 6.7.2
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
version: 6.7.2
|
||||
cache: true
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
brew install nlohmann-json
|
||||
brew tap KDAB/tap
|
||||
brew install KDBindings
|
||||
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# deleting 3rdparty is an easy way to make sure external worked
|
||||
- name: Delete internal 3rdparty
|
||||
run: |
|
||||
rm -rf src/3rdparty/nlohmann/
|
||||
rm -rf src/3rdparty/kdbindings/
|
||||
|
||||
- name: Configure
|
||||
run: cmake -S . --preset dev6 -DKDDockWidgets_WERROR=OFF
|
||||
|
||||
- name: Build
|
||||
run: cmake --build ./build-dev6
|
||||
|
||||
- name: Run tests on macOS
|
||||
run: ctest --test-dir ./build-dev6 --verbose
|
||||
Reference in New Issue
Block a user