mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
490 B
21 lines
490 B
#!/bin/bash -e
|
|
|
|
mkdir -p "$HOME"/.local/share
|
|
|
|
mkdir build
|
|
cd build
|
|
export TZ="America/Los_Angeles"
|
|
|
|
if [[ "$BUILDTYPE" == "cmake-make" ]]; then
|
|
cmake ../gnucash $PLATFORM_CMAKE_OPTS
|
|
make -j 4
|
|
make check || ../afterfailure
|
|
elif [[ "$BUILDTYPE" == "cmake-ninja" ]]; then
|
|
cmake ../gnucash -DWITH_PYTHON=ON -DCMAKE_BUILD_TYPE=debug -G Ninja $PLATFORM_CMAKE_OPTS
|
|
ninja
|
|
ninja check || ../afterfailure;
|
|
else
|
|
echo "Unknown buildtype: \"$BUILDTYPE\". Not building."
|
|
fi
|
|
|