From e3c9c1359860711a4bd6941e94116a3bb2860f4c Mon Sep 17 00:00:00 2001 From: pajlada Date: Sat, 10 Feb 2024 22:13:53 +0100 Subject: [PATCH] chore: update the ci full build script (#5168) --- .CI/full-ubuntu-build.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.CI/full-ubuntu-build.sh b/.CI/full-ubuntu-build.sh index f93d8ef2a..c863a4c16 100755 --- a/.CI/full-ubuntu-build.sh +++ b/.CI/full-ubuntu-build.sh @@ -1,10 +1,15 @@ #!/bin/sh +# TODO: Investigate if the -fno-sized-deallocation flag is still necessary +# TODO: Test appimage/deb creation + set -e +env + +rm -rf build mkdir build -cmake -B build -CXXFLAGS=-fno-sized-deallocation cmake \ +cmake \ -B build \ -DCMAKE_INSTALL_PREFIX=appdir/usr/ \ -DCMAKE_BUILD_TYPE=Release \ @@ -13,9 +18,9 @@ CXXFLAGS=-fno-sized-deallocation cmake \ -DCHATTERINO_PLUGINS="$C2_PLUGINS" \ -DCMAKE_PREFIX_PATH="$Qt6_DIR/lib/cmake" \ -DBUILD_WITH_QT6="$C2_BUILD_WITH_QT6" \ - .. + -DCMAKE_CXX_FLAGS="-fno-sized-deallocation" \ + . cmake --build build -# TODO: Test appimage/deb creation # sh ./../.CI/CreateAppImage.sh # sh ./../.CI/CreateUbuntuDeb.sh