Skip to content

Commit 08a1e27

Browse files
committed
[CI] Enable a small post-install CMake build test.
1 parent d41dfe9 commit 08a1e27

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/root-ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,18 @@ jobs:
573573
run: |
574574
ccache -s || true
575575
576+
- name: Install
577+
run: "cmake --install /github/home/ROOT-CI/build/ --prefix /github/home/ROOT-CI/install"
578+
579+
- name: Post-install build
580+
run: |
581+
cmake -S test/PostInstall/ -B /github/home/ROOT-CI/PostInstall -DCMAKE_PREFIX_PATH=/github/home/ROOT-CI/install;
582+
cmake --build /github/home/ROOT-CI/PostInstall;
583+
584+
- name: Post-install test
585+
working-directory: /github/home/ROOT-CI/PostInstall
586+
run: ctest -j $(nproc)
587+
576588
event_file:
577589
# For any event that is not a PR, the CI will always run. In PRs, the CI
578590
# can be skipped if the tag [skip-ci] or [skip ci] is written in the title.

0 commit comments

Comments
 (0)