Added an XCTest bundle to the osxsdk scheme. It contains some basic tests of shared iOS/OS X code.
22 lines
524 B
Bash
Executable File
22 lines
524 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
source ./platform/osx/scripts/setup.sh
|
|
|
|
BUILDTYPE=${BUILDTYPE:-Release}
|
|
|
|
################################################################################
|
|
# Build
|
|
################################################################################
|
|
|
|
mapbox_time "run_sdk_tests" \
|
|
make xctest -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}
|