forgejo workflow: streamline xo-indentlog build (use xo-build)
Some checks failed
cmake-docker / cmake-build (push) Failing after 2m20s
CI / smoke-test (push) Has been cancelled

This commit is contained in:
Roland Conybeare 2026-06-21 20:14:39 -04:00
commit 5de0b8d3f1

View file

@ -32,16 +32,19 @@ jobs:
PREFIX=${{github.workspace}}/local
PATH=$PREFIX/bin:$PATH
echo "::group::xo-indentlog configure"
cmake -S xo-indentlog -B .build/xo-indentlog -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_PREFIX_PATH=$PREFIX -DENABLE_TESTING=1
xo-build --configure --with-utests --with-examples xo-indentlog
#cmake -S xo-indentlog -B .build/xo-indentlog -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_PREFIX_PATH=$PREFIX -DENABLE_TESTING=1
echo "::endgroup::"
echo "::group::xo-indentlog build"
cmake --build .build/xo-indentlog
xo-build --build xo-indentlog
#cmake --build .build/xo-indentlog
echo "::endgroup::"
echo "::group::xo-indentlog utest"
ctest --test-dir .build/xo-indentlog
echo "::endgroupo::"
echo "::endgroup::"
echo "::group::xo-indentlog install"
cmake --install .build/xo-indentlog
xo-build --install xo-indentlog
#cmake --install .build/xo-indentlog
echo "::endgroup::"
- name: print install path