forked from equeim/tremotesf2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
32 lines (27 loc) · 998 Bytes
/
.cirrus.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
# SPDX-FileCopyrightText: 2015-2024 Alexey Rochev
#
# SPDX-License-Identifier: CC0-1.0
build_freebsd_task:
freebsd_instance:
matrix:
- image_family: freebsd-13-3
- image_family: freebsd-14-0
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master' || $CIRRUS_BASE_BRANCH =~ 'feature/.*'
packages_cache:
folder: /var/cache/pkg
install_dependencies_script: |
set -e -o pipefail
sudo pkg update -f
sudo pkg install -y cmake ninja pkgconf libpsl libfmt cpp-httplib qt6-base qt6-tools kf6-kwidgetsaddons kf6-kwindowsystem gettext-tools cxxopts
cmake_build_script: |
set -e -o pipefail
echo 'Configuring CMake'
cmake -S . --preset base -D TREMOTESF_QT6=ON -D TREMOTESF_WITH_HTTPLIB=system
echo 'Building Debug'
cmake --build --preset base-debug
echo 'Testing Debug'
ctest --preset base-debug
echo 'Building Release'
cmake --build --preset base-release
echo 'Testing Release'
ctest --preset base-release