diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0224fd67145b6f0c1b85ad48a65a114f249d8fc2..b453b6b8728b50633d05e40ca3a7e9aa0f5ac509 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,7 +60,7 @@ build_linux: before_script: - QMAKE=/opt/qt/$QT_VERSION/gcc_64/bin/qmake script: - - cmake -Bbuild -DCMAKE_CXX_COMPILER_LAUNCHER=ccache . + - cmake -Bbuild -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=RelWithDebInfo . - cmake --build build -j 16 - cd build - linuxdeploy --plugin qt -e groundstation -d ../linuxdeploy/groundstation.desktop -i ../linuxdeploy/SkywardLogo.png --appdir AppDir @@ -78,7 +78,7 @@ build_windows: before_script: - export PATH=/home/gitlab-runner/mxe/usr/bin:$PATH script: - - x86_64-w64-mingw32.static-cmake -Bbuild -DCMAKE_CXX_COMPILER_LAUNCHER=ccache . + - x86_64-w64-mingw32.static-cmake -Bbuild -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=RelWithDebInfo . - x86_64-w64-mingw32.static-cmake --build build -j 16 - mv build/groundstation.exe Ground_Station-$CI_COMMIT_SHORT_SHA.exe artifacts: diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f386e77a9829d61c0858b644572dee64de39eff..4be60d44ad6fb3af6a007a6480302cc2b9b93c48 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,8 +20,6 @@ # THE SOFTWARE. cmake_minimum_required(VERSION 3.16) -# For now we keep debug information on -set(CMAKE_BUILD_TYPE RelWithDebInfo) project(SkywardHub)