mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
.
This commit is contained in:
parent
58d433e309
commit
a7da6cb3d9
@ -4,7 +4,6 @@ cache:
|
||||
- $HOME/brew-cache
|
||||
notifications:
|
||||
email: false
|
||||
slack: hyperiondevteam:JHOhorlTVgcYKwT6Tj1nnGou
|
||||
language: cpp
|
||||
matrix:
|
||||
include:
|
||||
|
@ -15,18 +15,26 @@ else
|
||||
procs=4
|
||||
fi
|
||||
|
||||
|
||||
# Compile hyperion
|
||||
|
||||
# compile prepare
|
||||
mkdir build || exit 1
|
||||
cd build
|
||||
cmake -DPLATFORM=x86-dev -DCMAKE_BUILD_TYPE=Debug .. || exit 2
|
||||
make -j$(nproc) || exit 3
|
||||
|
||||
# Compile hyperion for tags
|
||||
if [[ -n $TRAVIS_TAG ]]
|
||||
echo "This is a tag build"
|
||||
exit 10
|
||||
cmake -DPLATFORM=x86 -DCMAKE_BUILD_TYPE=Release .. || exit 2
|
||||
make -j$(nproc) || exit 3
|
||||
|
||||
# Compile hyperion for cron or PR
|
||||
else
|
||||
cmake -DPLATFORM=x86-dev -DCMAKE_BUILD_TYPE=Debug .. || exit 4
|
||||
make -j$(nproc) || exit 5
|
||||
fi
|
||||
|
||||
# Build the package on Linux
|
||||
|
||||
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
||||
make -j$(nproc) package || exit 4
|
||||
make -j$(nproc) package || exit 6
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user