Fix Coverity warnings #928
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CMake (macOS) | |
| on: [push, pull_request] | |
| env: | |
| BUILD_TYPE: RelWithDebInfo | |
| CMAKE_BUILD_PARALLEL_LEVEL: 3 | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install libraries | |
| run: brew install web-eid/gtest/gtest | |
| - name: Configure CMake | |
| run: cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -B build -S . | |
| - name: Build | |
| run: cmake --build build --config ${BUILD_TYPE} | |
| - name: Test | |
| run: ctest -V -C ${BUILD_TYPE} --test-dir build |