2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-27 19:02:12 +00:00
Files
gil/.github/actions/setup-boost/action.yml
2021-03-02 11:02:07 +01:00

18 lines
639 B
YAML

name: 'Setup-Boost'
description: 'Downloads and sets up the necessary dependencies of Boost'
runs:
using: composite
steps:
- run: |
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
cp -r $GITHUB_WORKSPACE/* libs/gil
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" gil
./bootstrap.sh
./b2 -d0 headers
shell: bash