osx..script.sh 297 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. set -e
  3. mkdir build
  4. cd build
  5. # Workaround; No FindQt5.cmake module exists
  6. CMAKE_PREFIX_PATH="$(brew --prefix qt5)"
  7. export CMAKE_PREFIX_PATH
  8. # shellcheck disable=SC2086
  9. cmake -DUSE_WERROR=OFF -DCMAKE_INSTALL_PREFIX=../target $CMAKE_FLAGS ..
  10. make -j4
  11. make tests
  12. ./tests/tests