summaryrefslogtreecommitdiff
path: root/.ci/ci-osx-build.sh
blob: 628ec20abe2eba5956ca92924871ddb9c59816e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

COPTS="--with-crypto=none --disable-pulseaudio --disable-cxx-bindings"
PARALLEL_JOBS=10

# Prepare OSX env for build
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/d-bus/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
export PATH="$(brew --prefix gettext)/bin:$PATH"

# Normal build test of all targets
./autogen.sh $COPTS $@
make -j $PARALLEL_JOBS
#make -j $PARALLEL_JOBS examples
#make -j $PARALLEL_JOBS benchmark