#!/bin/sh

# if [ $CLANGXX ]; then
#     echo 'Skipping test for osx_64 build in azure pipeline.'
#     echo 'Reason: it seems conda`s linker doesn`t support macOS 10.14 SDK.' # @chrisburr said at gitter
#     exit 0
# fi

cd test
mkdir build
cd build
cmake .. \
    -GNinja \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_PREFIX_PATH=$PREFIX \
    -DCMAKE_VERBOSE_MAKEFILE=ON
ninja
./test
