Skip to content

Commit 112538d

Browse files
committed
Add posix-depinst to ci.yml
1 parent dde2b85 commit 112538d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,3 +367,36 @@ jobs:
367367
run: |
368368
cd ../boost-root
369369
dist/bin/boostdep --list-exceptions | diff -u tools/boostdep/depinst/exceptions.txt -
370+
371+
posix-depinst:
372+
373+
strategy:
374+
fail-fast: false
375+
matrix:
376+
library: [ 'assert', 'algorithm', 'asio', 'beast', 'graph', 'geometry', 'mp11', 'serialization', 'thread' ]
377+
args: [ '', '-C' ]
378+
379+
runs-on: ubuntu-latest
380+
381+
steps:
382+
- uses: actions/checkout@v4
383+
384+
- name: Setup Boost
385+
run: |
386+
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
387+
echo GITHUB_BASE_REF: $GITHUB_BASE_REF
388+
echo GITHUB_REF: $GITHUB_REF
389+
REF=${GITHUB_BASE_REF:-$GITHUB_REF}
390+
REF=${REF#refs/heads/}
391+
echo REF: $REF
392+
BOOST_BRANCH=develop && [ "$REF" == "master" ] && BOOST_BRANCH=master || true
393+
echo BOOST_BRANCH: $BOOST_BRANCH
394+
cd ..
395+
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
396+
cd boost-root
397+
cp -r $GITHUB_WORKSPACE/* tools/boostdep
398+
399+
- name: Use depinst
400+
run: |
401+
cd ../boost-root
402+
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" -u ${{matrix.args}} ${{matrix.library}}

0 commit comments

Comments
 (0)