From c7e78503228f2eca4e274c6264508cff7fb0b68c Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 2 Nov 2024 11:52:02 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97bca837..64772bc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: uses: actions/checkout@v4 - name: CMake - shell: pwsh + shell: cmd run: | mkdir build cd build @@ -135,10 +135,12 @@ jobs: -D CMAKE_CXX_STANDARD=${{ matrix.config.CXX_STANDARD }} .. - name: Build - shell: pwsh + shell: cmd run: | cd build cmake --build . --parallel --config ${{ matrix.config.BUILD_TYPE }} - name: Tests - run: ctest -C Release -VV --build-run-dir build/${{ matrix.config.BUILD_TYPE }} + shell: cmd + run: ctest -VV -C {{ matrix.config.BUILD_TYPE }} --test-dir build/tests --build-run-dir build/${{ matrix.config.BUILD_TYPE }} --no-tests=error +