Skip to content

Commit

Permalink
CI: actually run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsippel committed Jun 29, 2022
1 parent 4f8a456 commit 243b2d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_TESTING=ON \
-DredGrapes_BUILD_EXAMPLES=ON
cmake --build build -j 2
- name: test RedGrapes
run: |
ctest --test-dir build --output-on-failure
ctest --test-dir build/test --output-on-failure
2 changes: 2 additions & 0 deletions redGrapesConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ find_package(Boost 1.62.0 REQUIRED COMPONENTS context)
find_package(fmt REQUIRED)
find_package(spdlog REQUIRED)

if( NOT TARGET redGrapes )
add_library(redGrapes
${CMAKE_CURRENT_LIST_DIR}/redGrapes/resource/resource.cpp
${CMAKE_CURRENT_LIST_DIR}/redGrapes/dispatch/thread/execute.cpp
Expand All @@ -19,6 +20,7 @@ add_library(redGrapes
${CMAKE_CURRENT_LIST_DIR}/redGrapes/task/task_space.cpp
${CMAKE_CURRENT_LIST_DIR}/redGrapes/redGrapes.cpp
)
endif()

target_compile_features(redGrapes PUBLIC
cxx_std_14
Expand Down

0 comments on commit 243b2d6

Please sign in to comment.