diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml index 7c4bf40c..a90b0d3b 100644 --- a/.github/workflows/mac-build.yml +++ b/.github/workflows/mac-build.yml @@ -25,7 +25,13 @@ jobs: steps: - uses: actions/checkout@v6 - name: configure - run: mkdir build && cd build && cmake .. -DBUILDING_TESTS=1 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} + run: > + mkdir build && cd build && + cmake .. + -DBUILDING_TESTS=1 + -DCMAKE_BUILD_TYPE=Debug + -DCMAKE_COMPILE_WARNING_AS_ERROR=ON + -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} - name: build run: cmake --build build - name: test diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 99db15ba..593f50f1 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -8,7 +8,7 @@ include(FetchContent) FetchContent_Declare( googletest GIT_REPOSITORY https://github.com/google/googletest.git - GIT_TAG v1.15.2 + GIT_TAG v1.17.0 ) # For Windows: Prevent overriding the parent project's compiler/linker settings set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)