forked from boostorg/assert
Split into lines; fix cd
This commit is contained in:
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@@ -33,19 +33,19 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup
|
||||
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/assert
|
||||
git submodule update --init tools/boostdep
|
||||
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" assert
|
||||
./bootstrap.sh
|
||||
./b2 headers
|
||||
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/assert
|
||||
- git submodule update --init tools/boostdep
|
||||
- python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" assert
|
||||
- ./bootstrap.sh
|
||||
- ./b2 headers
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
cd boost-root
|
||||
./b2 -j3 libs/assert/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}}
|
||||
run:
|
||||
- cd ../boost-root
|
||||
- ./b2 -j3 libs/assert/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}}
|
||||
|
Reference in New Issue
Block a user