Skip to content

Commit 18972c6

Browse files
committed
Add basic compile test for demo plugins
1 parent 6f9e704 commit 18972c6

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/mcg-ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
steps:
4646
- uses: actions/checkout@v4
4747
- name: cmake
48-
run: cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -B build -S .
48+
run: cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_INSTALL_PREFIX="$(pwd)/install" -DMETACG_BUILD_GRAPH_TOOLS=ON -B build -S .
4949
- name: build
5050
run: cmake --build build --parallel
5151
- name: install
@@ -58,6 +58,14 @@ jobs:
5858
run: |
5959
CMAKE_PREFIX_PATH=install/lib/cmake/metacg cmake -S graph/test/install -B build-install-test
6060
cmake --build build-install-test
61+
- name: cage-plugin-test
62+
run: |
63+
CMAKE_PREFIX_PATH=install/lib/cmake/metacg cmake -S tools/cage/CaGeDemoPlugin -B build-cage-install-test
64+
cmake --build build-cage-install-test
65+
- name: cgc2-plugin-test
66+
run: |
67+
CMAKE_PREFIX_PATH=install/lib/cmake/metacg cmake -S tools/cgcollector2/CGC2DemoPlugin -B build-cgc2-install-test
68+
cmake --build build-cgc2-install-test
6169
- name: metacg-config-test
6270
run: |
6371
MCG_CFG=install/bin/metacg-config

0 commit comments

Comments
 (0)