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.
This commit is contained in:
zeertzjq
2024-02-17 18:35:25 +08:00
committed by GitHub
parent 848fc8ede8
commit ea0737c838

View File

@ -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 }}