-
Notifications
You must be signed in to change notification settings - Fork 170
47 lines (38 loc) · 1.11 KB
/
external-3rdparty-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
name: Build against external nlohmann and KDBindings
on:
push:
branches:
- main
pull_request:
branches:
- main
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