File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -463,6 +463,26 @@ jobs:
463463 sudo apt-get install -y $DEPS
464464 test -f /usr/include/asio.hpp || (echo "::error::System Asio header not found after install"; exit 1)
465465
466+ - name : Fetch sibling dependencies
467+ run : |
468+ rm -rf ../utils ../net ../json
469+
470+ git clone --depth 1 --branch "${VIX_GIT_BRANCH}" https://github.com/vixcpp/utils.git ../utils
471+ git clone --depth 1 --branch "${VIX_GIT_BRANCH}" https://github.com/vixcpp/net.git ../net
472+ git clone --depth 1 --branch "${VIX_GIT_BRANCH}" https://github.com/vixcpp/json.git ../json
473+
474+ - name : Verify required sibling dependencies
475+ run : |
476+ test -f ../utils/CMakeLists.txt || (echo "::error::../utils/CMakeLists.txt is missing"; exit 1)
477+ test -f ../net/CMakeLists.txt || (echo "::error::../net/CMakeLists.txt is missing"; exit 1)
478+ test -f ../json/CMakeLists.txt || (echo "::error::../json/CMakeLists.txt is missing"; exit 1)
479+ test -f ../json/include/vix/json/Simple.hpp || (echo "::error::../json/include/vix/json/Simple.hpp is missing"; exit 1)
480+
481+ - name : Export dependency include paths
482+ run : |
483+ echo "CPATH=$GITHUB_WORKSPACE/../json/include:$GITHUB_WORKSPACE/../utils/include:$GITHUB_WORKSPACE/../net/include${CPATH:+:$CPATH}" >> "$GITHUB_ENV"
484+ echo "CPLUS_INCLUDE_PATH=$GITHUB_WORKSPACE/../json/include:$GITHUB_WORKSPACE/../utils/include:$GITHUB_WORKSPACE/../net/include${CPLUS_INCLUDE_PATH:+:$CPLUS_INCLUDE_PATH}" >> "$GITHUB_ENV"
485+
466486 - name : Configure release mode with sibling deps
467487 run : |
468488 cmake -G Ninja -S . -B build-release-local \
You can’t perform that action at this time.
0 commit comments