chore: update the ci full build script (#5168)

This commit is contained in:
pajlada 2024-02-10 22:13:53 +01:00 committed by GitHub
parent a6e5505fb7
commit e3c9c13598
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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