summaryrefslogtreecommitdiff
path: root/scripts/osx/run.sh
blob: 0f7841b4a3e42808823d8f5676718a07e3368387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash

set -e
set -o pipefail

source ./scripts/osx/setup.sh

BUILDTYPE=${BUILDTYPE:-Release}

################################################################################
# Build
################################################################################

mapbox_time "package_osx_symbols" \
make xpackage

mapbox_time "package_osx_stripped" \
make xpackage-strip

mapbox_time "compile_program" \
make xosx -j${JOBS} BUILDTYPE=${BUILDTYPE}

mapbox_time "compile_render_binary" \
make xrender -j${JOBS} BUILDTYPE=${BUILDTYPE}

mapbox_time "compile_tests" \
make xtest -j${JOBS} BUILDTYPE=${BUILDTYPE}