Skip to content

Commit 58192ab

Browse files
committed
[CI] Add a post-install test.
1 parent 435bb5d commit 58192ab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/root-ci.yml

+10
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,16 @@ jobs:
569569
run: |
570570
ccache -s || true
571571
572+
- name: Install
573+
run: "cmake --install /github/home/ROOT-CI/build/ --prefix /github/home/ROOT-CI/install"
574+
575+
- name: Post-install tests
576+
run: |
577+
cmake -S test/PostInstall/ -B /github/home/ROOT-CI/PostInstall -DCMAKE_PREFIX_PATH=/github/home/ROOT-CI/install -Dtesting=On;
578+
cmake --build /github/home/ROOT-CI/PostInstall;
579+
580+
- run: ctest /github/home/ROOT-CI/PostInstall
581+
572582
event_file:
573583
# For any event that is not a PR, the CI will always run. In PRs, the CI
574584
# can be skipped if the tag [skip-ci] or [skip ci] is written in the title.

0 commit comments

Comments
 (0)