zig/ci/travis_osx_script
2018-03-10 14:36:59 -05:00

13 lines
201 B
Bash
Executable File

#!/bin/sh
set -x
set -e
mkdir build
cd build
cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@6/ -DCMAKE_INSTALL_PREFIX=$(pwd)
make VERBOSE=1
make install
./zig build --build-file ../build.zig test