linux..script.sh 288 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. unset QTDIR QT_PLUGIN_PATH LD_LIBRARY_PATH
  3. # shellcheck disable=SC1091
  4. source /opt/qt59/bin/qt59-env.sh
  5. set -e
  6. mkdir build
  7. cd build
  8. # shellcheck disable=SC2086
  9. cmake -DUSE_WERROR=ON -DCMAKE_INSTALL_PREFIX=../target $CMAKE_FLAGS ..
  10. make -j4
  11. make tests
  12. ./tests/tests