1
0
forked from boostorg/mp11

Update ci.yml

This commit is contained in:
Peter Dimov
2021-11-18 15:45:33 +02:00
parent 6781db002b
commit 8bece6d0a6

View File

@ -461,9 +461,17 @@ jobs:
- name: Setup Boost
run: |
git checkout https://github.com/boostorg/assert ../assert
git checkout https://github.com/boostorg/config ../config
git checkout https://github.com/boostorg/core ../core
echo GITHUB_BASE_REF: $GITHUB_BASE_REF
echo GITHUB_REF: $GITHUB_REF
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
REF=${REF#refs/heads/}
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
cd ..
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/assert
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/config
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/core
- name: Run Tests
run: |