Update ci.yml

This commit is contained in:
Gabi Melman 2024-11-02 11:52:02 +02:00 committed by GitHub
parent d330e7195e
commit c7e7850322
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: CMake - name: CMake
shell: pwsh shell: cmd
run: | run: |
mkdir build mkdir build
cd build cd build
@ -135,10 +135,12 @@ jobs:
-D CMAKE_CXX_STANDARD=${{ matrix.config.CXX_STANDARD }} .. -D CMAKE_CXX_STANDARD=${{ matrix.config.CXX_STANDARD }} ..
- name: Build - name: Build
shell: pwsh shell: cmd
run: | run: |
cd build cd build
cmake --build . --parallel --config ${{ matrix.config.BUILD_TYPE }} cmake --build . --parallel --config ${{ matrix.config.BUILD_TYPE }}
- name: Tests - 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