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: 2 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: cmake
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug
- name: build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: compiler
run: sudo apt-get update && sudo apt-get install -y clang
- name: cmake
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: cmake
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=/usr/bin/clang++
- name: build
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "tests/Catch2"]
path = tests/Catch2
url = https://github.com/catchorg/Catch2.git
3 changes: 2 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/")

find_package(Runtime REQUIRED)
add_subdirectory(Catch2)

set(test-sources
main.cpp
path.cpp
slug.cpp
table.cpp
Expand All @@ -15,3 +15,4 @@ set(test-sources
add_executable(test ${test-sources})
target_link_libraries(test router::router)
target_link_libraries(test cxx::runtime)
target_link_libraries(test Catch2::Catch2WithMain)
1 change: 1 addition & 0 deletions tests/Catch2
Submodule Catch2 added at 04cbcf
Loading