Skip to content

Commit 8179420

Browse files
committed
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.
1 parent 27a7a4d commit 8179420

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.builds/freebsd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tasks:
2828
gmake deps
2929
- build: |
3030
cd neovim
31-
gmake CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
31+
gmake CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
3232
- functionaltest: |
3333
cd neovim
3434
gmake functionaltest

.builds/openbsd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ tasks:
2828
mkdir neovim/.deps
2929
cd neovim/.deps
3030
cmake -G Ninja ../third-party/
31-
cmake --build . --config Debug
31+
cmake --build . --config RelWithDebInfo
3232
- build: |
3333
mkdir neovim/build
3434
cd neovim/build
3535
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
36-
cmake --build . --config Debug
36+
cmake --build . --config RelWithDebInfo
3737
./bin/nvim --version
3838
- functionaltest: |
3939
cd neovim/build
40-
cmake --build . --config Debug --target functionaltest
40+
cmake --build . --config RelWithDebInfo --target functionaltest
4141
- oldtest: |
4242
cd neovim
4343
gmake oldtest

0 commit comments

Comments
 (0)