From f4e6cfedbbd7e92cd6a9b158a61939963f080e4d Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Wed, 18 Oct 2023 13:23:22 -0400 Subject: [PATCH] [test] CI wip --- .github/workflows/ci-tests.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 8294707..b94cb20 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_ROOT=${{ github.workspace }}/benchmark/build cd ${{ github.workspace }}/build make ./bin/utest