You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
503 B
Bash
27 lines
503 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [[ "$(uname -s)" == 'Linux' ]]; then
|
|
source conan/bin/activate
|
|
else
|
|
export PYENV_VERSION=$PYTHON
|
|
export PATH="/Users/travis/.pyenv/shims:${PATH}"
|
|
eval "$(pyenv init -)"
|
|
eval "$(pyenv virtualenv-init -)"
|
|
pyenv activate conan
|
|
fi
|
|
|
|
mkdir build && cd build
|
|
conan install .. --build missing --profile release
|
|
cmake ${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=install ..
|
|
make -j2
|
|
make tests
|
|
make install
|
|
cd bin
|
|
./unit_tests
|
|
|
|
cd ../../tests/
|
|
python3 runner.py
|