blob: 2f42ba916df44fe1fc288893084bc931485c26d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
set -e
COVERITY_VERSION="2017.07"
BUILD_PATH="linux"
cmake_opts="-Dgraphics/qt_qpainter:BOOL=FALSE -Dgui/qml:BOOL=FALSE -DSVG2PNG:BOOL=FALSE -DSAMPLE_MAP=n -Dgraphics/gtk_drawing_area:BOOL=TRUE"
[ -d $BUILD_PATH ] || mkdir -p $BUILD_PATH
pushd $BUILD_PATH
# Build everything
echo "Building..."
cmake ${cmake_opts} ../
make -j $(nproc --all)
make package
if [[ "$CIRCLE_ARTIFACTS" != "" ]]; then
echo "Copying icons to artifacts..."
cp -r navit/icons $CIRCLE_ARTIFACTS
fi
|