Skip to content

Commit

Permalink
xo-ratio: github: + missing randomgen dep in xo-cpp-builder workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rconybea committed Apr 24, 2024
1 parent edbbe1f commit fb01fb3
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/xo-cpp-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
run: |
XO_NAME=xo-ratio
Expand Down

0 comments on commit fb01fb3

Please sign in to comment.