GA: Test CMake installation.
@@ -54,3 +54,16 @@ jobs:
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build . --target install
+
+ - name: Test CMake Installation
+ working-directory: ${{runner.workspace}}/test/pkg
+ shell: bash
+ run: |
+ mkdir build && cd build
+ if [ "$RUNNER_OS" == "Windows" ]; then
+ cmake -DCMAKE_PREFIX_PATH=C:/tinyspline ..
+ else
+ cmake -DCMAKE_PREFIX_PATH=~/tinyspline ..
+ fi
+ cmake --build .
+ ctest
