workflow: + xo-printjson (wip - broken)
This commit is contained in:
parent
ee82037ba9
commit
591b7388fe
1 changed files with 35 additions and 0 deletions
35
.github/workflows/main.yml
vendored
35
.github/workflows/main.yml
vendored
|
|
@ -241,6 +241,41 @@ jobs:
|
||||||
|
|
||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
|
|
||||||
|
- name: clone xo-printjson
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: Rconybea/xo-printjson
|
||||||
|
path: repo/xo-printjson
|
||||||
|
|
||||||
|
- name: build xo-printjson
|
||||||
|
run: |
|
||||||
|
XONAME=xo-printjson
|
||||||
|
XOSRC=repo/${XONAME}
|
||||||
|
BUILDDIR=${{github.workspace}}/build_${XONAME}
|
||||||
|
PREFIX=${{github.workspace}}/local
|
||||||
|
|
||||||
|
echo "::group::repo dir tree"
|
||||||
|
tree -L 2 repo
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
echo "::group::configure ${XONAME}"
|
||||||
|
cmake -B ${BUILDDIR} -DCMAKE_INSTALL_PREFIX=${PREFIX} ${XOSRC}
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
echo "::group::compile ${XONAME}"
|
||||||
|
cmake --build ${BUILDDIR} --config ${{env.BUILD_TYPE}} -j
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
echo "::group::local install ${XONAME}"
|
||||||
|
cmake --install ${BUILDDIR}
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
echo "::group::local dir tree"
|
||||||
|
tree -L 3 ${PREFIX}
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------
|
||||||
|
|
||||||
- name: clone xo-webutil
|
- name: clone xo-webutil
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue