summaryrefslogtreecommitdiff
path: root/.ci/ci-osx-build.sh
blob: bc2a0568294b8344281101c619b235f2229d50ce (plain) (blame)
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