Skip to content
Open
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
13 changes: 12 additions & 1 deletion .github/workflows/mcg-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,18 @@ jobs:
stat $MCG_CFG
[[ "$($MCG_CFG --prefix)" == "$(cd install; pwd)" ]] || exit 1
[[ "$($MCG_CFG --revision)" == "$(git rev-parse HEAD)" ]] || exit 1


# Make sure the cache file builds
graph-tools-cache-build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: cmake
run: cmake -B build -S . -C cmake/caches/GraphTools.cmake
- name: build
run: cmake --build build --parallel

build-container:
runs-on: ubuntu-latest
steps:
Expand Down
33 changes: 33 additions & 0 deletions cmake/caches/FullBuild.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is a CMake cache file for a full build
set(CMAKE_BUILD_TYPE
Release
CACHE STRING ""
)

# Get external dependencies
set(CUBE_DIR
"extern/install/cubelib"
CACHE STRING ""
)
set(EXTRAP_INCLUDE
"extern/install/extrap/include"
CACHE STRING ""
)
set(EXTRAP_LIB
"extern/install/extrap/lib"
CACHE STRING ""
)

# Enable all features from MetaCG
set(METACG_BUILD_CGCOLLECTOR
ON
CACHE BOOL ""
)
set(METACG_BUILD_PGIS
ON
CACHE BOOL ""
)
set(METACG_BUILD_GRAPH_TOOLS
ON
CACHE BOOL ""
)
19 changes: 19 additions & 0 deletions cmake/caches/GraphTools.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This is a CMake cache file for a full build
set(CMAKE_BUILD_TYPE
Release
CACHE STRING ""
)

# Enable all features from MetaCG
set(METACG_BUILD_CGCOLLECTOR
OFF
CACHE BOOL ""
)
set(METACG_BUILD_PGIS
OFF
CACHE BOOL ""
)
set(METACG_BUILD_GRAPH_TOOLS
ON
CACHE BOOL ""
)
Loading