diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 8294707..0852a7b 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -47,7 +47,7 @@ jobs: mkdir googletest/build cd googletest/build cmake .. - sudo make install + make - name: Cache Google Benchmark id: cache-google-benchmark @@ -65,7 +65,7 @@ jobs: mkdir benchmark/build cd benchmark/build cmake .. -DBENCHMARK_ENABLE_TESTING=OFF - sudo make install + make # Configure CMake in a 'build' subdirectory. # `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. @@ -76,7 +76,9 @@ jobs: cmake -S ${{ github.workspace }} -B ${{ github.workspace }}/build \ -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} \ -DCMAKE_CXX_STANDARD=${{ matrix.cpp_standard }} \ - -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} + -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ + -DGTEST_ROOT=${{ github.workspace }}/googletest/build \ + -DBENCHMARK_DIR=${{ github.workspace }}/benchmark/build cd ${{ github.workspace }}/build make ./bin/utest