From ea0737c838b029fc96b1321c4ac15e0dc7e29b84 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 17 Feb 2024 18:35:25 +0800 Subject: [PATCH] ci(test.yml): explicitly set build type (#27503) Explicitly set the build type for both deps and Nvim. They are already explicitly set on Windows to RelWithDebInfo. Now also explicitly set them to Debug on POSIX. --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 43fd76dd39..86f11fcd99 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -146,12 +146,12 @@ jobs: - name: Build third-party deps run: | - cmake -S cmake.deps --preset ci ${{ matrix.build.deps_flags }} + cmake -S cmake.deps --preset ci -D CMAKE_BUILD_TYPE=Debug ${{ matrix.build.deps_flags }} cmake --build .deps - name: Build run: | - cmake --preset ci -D CMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX ${{ matrix.build.flags }} + cmake --preset ci -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX ${{ matrix.build.flags }} cmake --build build - name: ${{ matrix.test }}