Skip to content

Commit

Permalink
[test] CI wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Quuxplusone committed Oct 18, 2023
1 parent fb260ff commit 8287c27
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
mkdir googletest/build
cd googletest/build
cmake ..
sudo make install
make
- name: Cache Google Benchmark
id: cache-google-benchmark
Expand All @@ -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.
Expand All @@ -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

0 comments on commit 8287c27

Please sign in to comment.