Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
restore-keys: |
ccache-${{ runner.os }}-build-

- run: sudo apt-get install libgtest-dev

- run: npm run build
- run: npm run lint
- run: npm run test
Expand Down
7 changes: 6 additions & 1 deletion tests/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
enable_testing()

find_package(GTest REQUIRED CONFIG)
include(FetchContent)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/releases/download/v1.16.0/googletest-1.16.0.tar.gz
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)
FetchContent_MakeAvailable(googletest)

file(GLOB test_sources CONFIGURE_DEPENDS *.cpp ./utils/*.cpp) # innclude lit test by default

Expand Down