forked from mumble-voip/mumble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
23 lines (22 loc) · 1022 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
# Copyright 2019-2022 The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.
freebsd_instance:
image: freebsd-12-2-release-amd64
freebsd_task:
pkg_script:
- pkg update && pkg upgrade -y
- pkg install -y git ninja pkgconf cmake qt5-buildtools qt5-qmake qt5-linguisttools qt5-concurrent qt5-network qt5-xml qt5-sql qt5-svg qt5-testlib boost-libs libsndfile protobuf ice avahi-libdns poco
fetch_submodules_script: git submodule --quiet update --init --recursive
build_script:
- mkdir build && cd build
# We disable translations because of a critical issue in "lupdate": it's very slow and keeps CPU usage at 100%.
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -Dtests=ON -Dsymbols=ON -Dtranslations=OFF ..
- cmake --build .
test_script:
- cd build
- ctest --output-on-failure
install_script:
- cd build
- cmake --install .