mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
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.
This commit is contained in:
parent
27a7a4d384
commit
81794204ce
@ -28,7 +28,7 @@ tasks:
|
|||||||
gmake deps
|
gmake deps
|
||||||
- build: |
|
- build: |
|
||||||
cd neovim
|
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: |
|
- functionaltest: |
|
||||||
cd neovim
|
cd neovim
|
||||||
gmake functionaltest
|
gmake functionaltest
|
||||||
|
@ -28,16 +28,16 @@ tasks:
|
|||||||
mkdir neovim/.deps
|
mkdir neovim/.deps
|
||||||
cd neovim/.deps
|
cd neovim/.deps
|
||||||
cmake -G Ninja ../third-party/
|
cmake -G Ninja ../third-party/
|
||||||
cmake --build . --config Debug
|
cmake --build . --config RelWithDebInfo
|
||||||
- build: |
|
- build: |
|
||||||
mkdir neovim/build
|
mkdir neovim/build
|
||||||
cd neovim/build
|
cd neovim/build
|
||||||
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
|
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
|
||||||
cmake --build . --config Debug
|
cmake --build . --config RelWithDebInfo
|
||||||
./bin/nvim --version
|
./bin/nvim --version
|
||||||
- functionaltest: |
|
- functionaltest: |
|
||||||
cd neovim/build
|
cd neovim/build
|
||||||
cmake --build . --config Debug --target functionaltest
|
cmake --build . --config RelWithDebInfo --target functionaltest
|
||||||
- oldtest: |
|
- oldtest: |
|
||||||
cd neovim
|
cd neovim
|
||||||
gmake oldtest
|
gmake oldtest
|
||||||
|
Loading…
Reference in New Issue
Block a user