Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2019-04-03 00:24:59 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2019-04-03 00:24:59 +0300
commit2555a87c6233f3d3d513bb11c86aefb61661cc96 (patch)
tree6912e1a887c6db652a353f3b54918f02b96041ca /scripts
parent5f43f6510ff7e22d449a5325d302dd51f1ec064e (diff)
Azure Pipelines: add macOS build
This should lower the overall CI completion time, because the macOS build seems to always take a while to start on Travis CI. The macOS build will be removed from Travis CI in a dedicated commit.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/azure-pipelines/build_macos.bash14
-rwxr-xr-xscripts/azure-pipelines/install-environment_macos.bash8
2 files changed, 22 insertions, 0 deletions
diff --git a/scripts/azure-pipelines/build_macos.bash b/scripts/azure-pipelines/build_macos.bash
new file mode 100755
index 000000000..4e923d21c
--- /dev/null
+++ b/scripts/azure-pipelines/build_macos.bash
@@ -0,0 +1,14 @@
+#!/bin/bash -ex
+#
+# Copyright 2019 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>.
+
+export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
+export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl/lib/pkgconfig
+export PATH=$PATH:/usr/local/opt/qt5/bin:/usr/local/bin
+export MUMBLE_PREFIX=/usr/local
+export MUMBLE_ICE_PREFIX=/usr/local/opt/ice
+
+qmake -recursive CONFIG+="release tests warnings-as-errors" && make -j $(sysctl -n hw.ncpu) && make check
diff --git a/scripts/azure-pipelines/install-environment_macos.bash b/scripts/azure-pipelines/install-environment_macos.bash
new file mode 100755
index 000000000..b12f61bf2
--- /dev/null
+++ b/scripts/azure-pipelines/install-environment_macos.bash
@@ -0,0 +1,8 @@
+#!/bin/bash -ex
+#
+# Copyright 2019 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>.
+
+brew update && brew install pkg-config qt5 boost libogg libvorbis flac libsndfile protobuf openssl ice