File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 vs-version : " 18.2.1"
4242
4343 - name : Build & Test Project
44- run : cmake --workflow --preset workflow-${{ matrix.preset }}
44+ run : cmake -DDIGRAPH_BUILD_TESTS=ON - -workflow --preset workflow-${{ matrix.preset }}
4545
4646 - name : Upload artifact
4747 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.21 )
2- project (GraphMatrix )
2+ project (Digraph )
33
4- set (CMAKE_CXX_STANDARD 20)
5- set (CMAKE_CXX_STANDARD_REQUIRED True )
4+ set (CMAKE_CXX_STANDARD 20 CACHE STRING "" FORCE )
5+ set (CMAKE_CXX_STANDARD_REQUIRED True CACHE BOOL "" FORCE )
6+
7+ option (DIGRAPH_BUILD_TESTS "Build Digraph Tests" OFF )
68
79add_subdirectory (3rdparty )
810add_subdirectory (src )
9- add_subdirectory (test )
11+
12+ if (DIGRAPH_BUILD_TESTS)
13+ enable_testing ()
14+ add_subdirectory (test )
15+ endif ()
You can’t perform that action at this time.
0 commit comments