2016-06-28 21:53:08 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# compile hyperion on osx
|
|
|
|
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
2016-06-30 17:30:25 +02:00
|
|
|
cmake . -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.6.1-1
|
|
|
|
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=ON -Wno-dev .. && make -j$(nproc) package
|
2016-06-28 21:53:08 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
# compile hyperion on linux
|
|
|
|
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
2016-06-30 17:30:25 +02:00
|
|
|
mkdir build && cd build && cmake -DPLATFORM=x86 -DCMAKE_BUILD_TYPE=Release -DENABLE_AMLOGIC=ON -DENABLE_TESTS=ON -DENABLE_SPIDEV=ON -Wno-dev .. && make -j$(nproc) package
|
2016-06-28 21:53:08 +02:00
|
|
|
fi
|