mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Disable tests & benchmarks on ubuntu 20.04 docker builds (#5213)
This commit is contained in:
parent
687b213394
commit
dbb7882162
1 changed files with 11 additions and 2 deletions
|
@ -7,6 +7,15 @@ set -e
|
|||
|
||||
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
|
||||
mkdir build
|
||||
cmake \
|
||||
|
@ -14,8 +23,8 @@ cmake \
|
|||
-DCMAKE_INSTALL_PREFIX=appdir/usr/ \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_APP=On \
|
||||
-DBUILD_TESTS=On \
|
||||
-DBUILD_BENCHMARKS=On \
|
||||
-DBUILD_TESTS="$BUILD_TESTS" \
|
||||
-DBUILD_BENCHMARKS="$BUILD_BENCHMARKS" \
|
||||
-DUSE_PRECOMPILED_HEADERS=OFF \
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=On \
|
||||
-DCHATTERINO_PLUGINS="$C2_PLUGINS" \
|
||||
|
|
Loading…
Reference in a new issue