Files
MapLibreParticleLab/platform/linux/scripts/run.sh
Thiago Marcos P. Santos 43ed846a12 [build] Build offline tool on the bots
Make sure it doesn't break.
2016-02-11 17:25:15 +02:00

32 lines
843 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -o pipefail
source ./platform/linux/scripts/setup.sh
BUILDTYPE=${BUILDTYPE:-Release}
################################################################################
# Build
################################################################################
mapbox_time "compile_program" \
make linux -j${JOBS} BUILDTYPE=${BUILDTYPE}
mapbox_time "compile_render_binary" \
make render -j${JOBS} BUILDTYPE=${BUILDTYPE}
mapbox_time "compile_offline_binary" \
make offline -j${JOBS} BUILDTYPE=${BUILDTYPE}
mapbox_time "compile_tests" \
make test -j${JOBS} BUILDTYPE=${BUILDTYPE}
################################################################################
# Test
################################################################################
mapbox_time "run_tests" \
make test-* BUILDTYPE=${BUILDTYPE}