aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-01-31 10:45:26 -0500
committerJames McCoy <jamessan@jamessan.com>2021-01-31 11:28:52 -0500
commit81794204ce85dd15a62a27275fe717c7033e65d5 (patch)
treea16887db5a96c887793551d14d624e8a97b6e942
parent27a7a4d38405a30611339fc663e426904bda1099 (diff)
downloadrneovim-81794204ce85dd15a62a27275fe717c7033e65d5.tar.gz
rneovim-81794204ce85dd15a62a27275fe717c7033e65d5.tar.bz2
rneovim-81794204ce85dd15a62a27275fe717c7033e65d5.zip
ci(sr.ht): Use RelWithDebInfo builds
Many compiler checks rely on optimizations being enabled, so we want these to show up in CI. Use RelWithDebInfo instead of Release so that assert() statements aren't compiled out.
-rw-r--r--.builds/freebsd.yml2
-rw-r--r--.builds/openbsd.yml6
2 files changed, 4 insertions, 4 deletions
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
index bb7fbeb78b..d5809c42cf 100644
--- a/.builds/freebsd.yml
+++ b/.builds/freebsd.yml
@@ -28,7 +28,7 @@ tasks:
gmake deps
- build: |
cd neovim
- gmake CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
+ gmake CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
- functionaltest: |
cd neovim
gmake functionaltest
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml
index 2f0f970dcb..0ffc8aa786 100644
--- a/.builds/openbsd.yml
+++ b/.builds/openbsd.yml
@@ -28,16 +28,16 @@ tasks:
mkdir neovim/.deps
cd neovim/.deps
cmake -G Ninja ../third-party/
- cmake --build . --config Debug
+ cmake --build . --config RelWithDebInfo
- build: |
mkdir neovim/build
cd neovim/build
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
- cmake --build . --config Debug
+ cmake --build . --config RelWithDebInfo
./bin/nvim --version
- functionaltest: |
cd neovim/build
- cmake --build . --config Debug --target functionaltest
+ cmake --build . --config RelWithDebInfo --target functionaltest
- oldtest: |
cd neovim
gmake oldtest