summaryrefslogtreecommitdiff
path: root/.ci/ci-osx-build.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/ci-osx-build.sh')
-rwxr-xr-x.ci/ci-osx-build.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/.ci/ci-osx-build.sh b/.ci/ci-osx-build.sh
new file mode 100755
index 0000000..bc2a056
--- /dev/null
+++ b/.ci/ci-osx-build.sh
@@ -0,0 +1,16 @@
1#!/bin/sh
2
3COPTS="--with-crypto=none --disable-pulseaudio --disable-cxx-bindings"
4PARALLEL_JOBS=10
5
6# Prepare OSX env for build
7mkdir -p ~/Library/LaunchAgents
8ln -sfv /usr/local/opt/d-bus/*.plist ~/Library/LaunchAgents
9launchctl load ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
10export PATH="$(brew --prefix gettext)/bin:$PATH"
11
12# Normal build test of all targets
13./autogen.sh $COPTS $@
14make -j $PARALLEL_JOBS
15make -j $PARALLEL_JOBS examples
16#make -j $PARALLEL_JOBS benchmark