neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit c410375d4d7df80577c66d1241069d7f9f62983a
parent 9123bc0f3ff1607494dc859fa4df8eba3ec15540
Author: James McCoy <jamessan@jamessan.com>
Date:   Wed, 27 Nov 2024 07:55:55 -0500

ci: run tests directly rather than via the Makefile

Since the Makefile is not used to build, running the tests via the Makefile causes cmake to reconfigure and revert the release build back to debug.

Diffstat:
M.github/workflows/test.yml | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -159,9 +159,15 @@ jobs: cmake --preset ci -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX ${{ matrix.build.flags }} cmake --build build - - name: ${{ matrix.test }} + - if: ${{ matrix.test == 'oldtest' }} + name: ${{ matrix.test }} timeout-minutes: 20 - run: make ${{ matrix.test }} + run: make -C test/old/testdir NVIM_PRG=$(realpath build)/bin/nvim + + - if: ${{ matrix.test != 'oldtest' }} + name: ${{ matrix.test }} + timeout-minutes: 20 + run: cmake --build build --target ${{ matrix.test }} - name: Install run: |