xo-ratio: github: + missing randomgen dep in xo-cpp-builder workflow
This commit is contained in:
parent
edbbe1f241
commit
fb01fb3e3b
1 changed files with 36 additions and 0 deletions
36
.github/workflows/xo-cpp-main.yml
vendored
36
.github/workflows/xo-cpp-main.yml
vendored
|
|
@ -137,6 +137,42 @@ jobs:
|
||||||
|
|
||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
|
|
||||||
|
- name: xo-randomgen
|
||||||
|
run: |
|
||||||
|
XO_NAME=xo-randomgen
|
||||||
|
XO_SRC=repo/${XO_NAME}
|
||||||
|
XO_BUILDDIR=${{github.workspace}}/build_${XO_NAME}
|
||||||
|
PREFIX=${{github.workspace}}/local
|
||||||
|
|
||||||
|
XO_REPO=https://github.com/rconybea/randomgen.git
|
||||||
|
|
||||||
|
mkdir -p ${XO_SRC}
|
||||||
|
mkdir -p ${XO_BUILDDIR}
|
||||||
|
|
||||||
|
echo "::group::clone ${XO_NAME}"
|
||||||
|
export GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=no'
|
||||||
|
export GIT_SSL_NOVERIFY=true
|
||||||
|
git clone ${XO_REPO} ${XO_SRC}
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
echo "::group::configure ${XO_NAME}"
|
||||||
|
cmake -B ${XO_BUILDDIR} -DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${XO_SRC}
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
echo "::group::compile ${XO_NAME}"
|
||||||
|
cmake --build ${XO_BUILDDIR} -j
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
echo "::group::local install ${XO_NAME}"
|
||||||
|
cmake --install ${XO_BUILDDIR}
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
echo "::group::local dir tree"
|
||||||
|
tree ${PREFIX}
|
||||||
|
echo "::endgroup"
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------
|
||||||
|
|
||||||
- name: xo-ratio
|
- name: xo-ratio
|
||||||
run: |
|
run: |
|
||||||
XO_NAME=xo-ratio
|
XO_NAME=xo-ratio
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue