mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Disable tests & benchmarks on ubuntu 20.04 docker builds (#5213)
This commit is contained in:
parent
687b213394
commit
dbb7882162
|
@ -7,6 +7,15 @@ set -e
|
||||||
|
|
||||||
env
|
env
|
||||||
|
|
||||||
|
BUILD_TESTS="On"
|
||||||
|
BUILD_BENCHMARKS="ON"
|
||||||
|
|
||||||
|
ubuntu_version="$(lsb_release -sr)"
|
||||||
|
if [ "$ubuntu_version" = "20.04" ]; then
|
||||||
|
BUILD_TESTS="Off"
|
||||||
|
BUILD_BENCHMARKS="Off"
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
mkdir build
|
mkdir build
|
||||||
cmake \
|
cmake \
|
||||||
|
@ -14,8 +23,8 @@ cmake \
|
||||||
-DCMAKE_INSTALL_PREFIX=appdir/usr/ \
|
-DCMAKE_INSTALL_PREFIX=appdir/usr/ \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_APP=On \
|
-DBUILD_APP=On \
|
||||||
-DBUILD_TESTS=On \
|
-DBUILD_TESTS="$BUILD_TESTS" \
|
||||||
-DBUILD_BENCHMARKS=On \
|
-DBUILD_BENCHMARKS="$BUILD_BENCHMARKS" \
|
||||||
-DUSE_PRECOMPILED_HEADERS=OFF \
|
-DUSE_PRECOMPILED_HEADERS=OFF \
|
||||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=On \
|
-DCMAKE_EXPORT_COMPILE_COMMANDS=On \
|
||||||
-DCHATTERINO_PLUGINS="$C2_PLUGINS" \
|
-DCHATTERINO_PLUGINS="$C2_PLUGINS" \
|
||||||
|
|
Loading…
Reference in a new issue