solvespace/.travis/build-macos.sh

10 lines
231 B
Bash
Raw Normal View History

2016-04-19 12:19:00 +00:00
#!/bin/sh -xe
if echo $TRAVIS_TAG | grep ^v; then BUILD_TYPE=RelWithDebInfo; else BUILD_TYPE=Debug; fi
2016-04-19 12:19:00 +00:00
mkdir build
cd build
2020-10-19 09:24:37 +00:00
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
make -j2
make test_solvespace