23 lines
941 B
YAML
23 lines
941 B
YAML
# Copyright 2019-2023 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-13-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 opus
|
|
fetch_submodules_script: git submodule --quiet update --init --recursive
|
|
build_script:
|
|
- mkdir build && cd build
|
|
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_UNITY_BUILD=ON -Dtests=ON -Dsymbols=ON -DCMAKE_CXX_STANDARD=17 ..
|
|
- cmake --build .
|
|
test_script:
|
|
- cd build
|
|
- ctest --output-on-failure
|
|
install_script:
|
|
- cd build
|
|
- cmake --install .
|