forgejo workflow: streamline xo-indentlog build (use xo-build)
This commit is contained in:
parent
cb29095705
commit
5de0b8d3f1
1 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue