2
0
mirror of https://github.com/boostorg/pfr.git synced 2026-01-19 04:22:13 +00:00

add helper script to remove boost namespace from the library and smoke-test the result

This commit is contained in:
Antony Polukhin
2021-06-09 21:05:19 +03:00
parent 94315117fa
commit 444094f20d
4 changed files with 64 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ jobs:
- toolset: gcc-7
cxxstd: "03,11,14,17"
os: ubuntu-18.04
- toolset: gcc-9
- toolset: gcc-9 # Do not remove! It is the only toolset that tests misc/strip_boost_namespace.sh
cxxstd: "03,11,14,17,2a"
os: ubuntu-18.04
- toolset: gcc-10
@@ -102,6 +102,10 @@ jobs:
./b2 -j3 libs/$LIBRARY/test toolset=${{matrix.toolset}} cxxstd=${{matrix.cxxstd}} variant=debug,release "${{matrix.cxxflags}}" "${{matrix.linkflags}}" "${{matrix.launcher}}"
dist/bin/inspect libs/$LIBRARY
- name: Test boost namespace stripping
if: ${{matrix.compiler == 'gcc-9' }}
run: ../boost-root/libs/$LIBRARY/misc/strip_boost_namespace.sh
- name: Prepare coverage data
if: matrix.gcov_tool
run: |