aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2024-11-26 15:20:36 -0500
committerJames McCoy <jamessan@jamessan.com>2024-12-03 06:31:01 -0500
commit747e84a256036927585ce07d1162ef7ab73d4fd2 (patch)
tree39db60835c9c5d75615ff439313c1f189a988664
parent588ca99e123bbf28ba0bb4eeeeb126dc2213b64c (diff)
downloadrneovim-747e84a256036927585ce07d1162ef7ab73d4fd2.tar.gz
rneovim-747e84a256036927585ce07d1162ef7ab73d4fd2.tar.bz2
rneovim-747e84a256036927585ce07d1162ef7ab73d4fd2.zip
ci: run one set of tests with a release build
This ensures that no tests fail due to differences between release and debug builds. The release build-type check is now unnecessary, too, so remove it.
-rw-r--r--.github/workflows/test.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0885efddd5..7320c4ad81 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -106,7 +106,7 @@ jobs:
[
{ runner: ubuntu-24.04, os: ubuntu, flavor: asan, cc: clang, flags: -D ENABLE_ASAN_UBSAN=ON },
{ runner: ubuntu-24.04, os: ubuntu, flavor: tsan, cc: clang, flags: -D ENABLE_TSAN=ON },
- { runner: ubuntu-24.04, os: ubuntu, cc: gcc },
+ { runner: ubuntu-24.04, os: ubuntu, flavor: release, cc: gcc, flags: -D CMAKE_BUILD_TYPE=Release },
{ runner: macos-13, os: macos, flavor: intel, cc: clang, flags: -D CMAKE_FIND_FRAMEWORK=NEVER, deps_flags: -D CMAKE_FIND_FRAMEWORK=NEVER },
{ runner: macos-15, os: macos, flavor: arm, cc: clang, flags: -D CMAKE_FIND_FRAMEWORK=NEVER, deps_flags: -D CMAKE_FIND_FRAMEWORK=NEVER },
{ runner: ubuntu-24.04, os: ubuntu, flavor: puc-lua, cc: gcc, deps_flags: -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON, flags: -D PREFER_LUA=ON },
@@ -194,7 +194,7 @@ jobs:
uses: ./.github/workflows/test_windows.yml
# This job tests the following things:
- # - Check if Release, MinSizeRel and RelWithDebInfo compiles correctly.
+ # - Check if MinSizeRel and RelWithDebInfo compiles correctly.
# - Test the above build types with the GCC compiler specifically.
# Empirically the difference in warning levels between GCC and other
# compilers is particularly big.
@@ -218,9 +218,6 @@ jobs:
- name: Configure
run: cmake --preset ci -G "Ninja Multi-Config"
- - name: Release
- run: cmake --build build --config Release
-
- name: RelWithDebInfo
run: cmake --build build --config RelWithDebInfo