Skip to content

Commit

Permalink
Remove C++03 Testing and Fix Clang STL Failures (#400)
Browse files Browse the repository at this point in the history
* Remove C++03 Testing

* Add cxx14 requirement to boost.mp test

* Fix jamfile syntax

* Remove clang 2b runs

* Remove GCC-4.8

* Add doc/examples to depinst

* Fix clang 11-14 STL failures
  • Loading branch information
mborland authored Nov 15, 2023
1 parent a606369 commit 7285827
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 40 deletions.
53 changes: 15 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,15 @@ jobs:
fail-fast: false
matrix:
include:
- toolset: gcc-4.6
cxxstd: "03"
address_model: 64
os: ubuntu-latest
container: ubuntu:16.04
install:
- g++-4.6
sources:
- "ppa:ubuntu-toolchain-r/test"
- toolset: gcc-4.8
cxxstd: "03"
address_model: 64
os: ubuntu-latest
container: ubuntu:18.04
install:
- g++-4.8
- toolset: gcc-5
cxxstd: "03,11"
cxxstd: "11"
address_model: 64
os: ubuntu-latest
container: ubuntu:16.04
install:
- g++-5-multilib
- toolset: gcc-5
cxxstd: "03-gnu,11-gnu"
cxxstd: "11-gnu"
address_model: 64
os: ubuntu-latest
container: ubuntu:16.04
Expand Down Expand Up @@ -135,30 +119,23 @@ jobs:
- g++-12-multilib

# Linux, clang
- toolset: clang
compiler: clang++-3.7
cxxstd: "03"
os: ubuntu-latest
container: ubuntu:16.04
install:
- clang-3.7
- toolset: clang
compiler: clang++-3.8
cxxstd: "03,11"
cxxstd: "11"
os: ubuntu-latest
container: ubuntu:16.04
install:
- clang-3.8
- toolset: clang
compiler: clang++-3.9
cxxstd: "03,11,14"
cxxstd: "11,14"
os: ubuntu-latest
container: ubuntu:18.04
install:
- clang-3.9
- toolset: clang
compiler: clang++-4.0
cxxstd: "03,11"
cxxstd: "11"
os: ubuntu-latest
container: ubuntu:18.04
install:
Expand Down Expand Up @@ -208,37 +185,37 @@ jobs:
- clang-10
- toolset: clang
compiler: clang++-11
cxxstd: "17,20"
cxxstd: "17"
os: ubuntu-22.04
install:
- clang-11
- toolset: clang
compiler: clang++-12
cxxstd: "20,2b"
cxxstd: "17"
os: ubuntu-22.04
install:
- clang-12
- toolset: clang
compiler: clang++-13
cxxstd: "20,2b"
cxxstd: "17"
os: ubuntu-22.04
install:
- clang-13
- toolset: clang
compiler: clang++-14
cxxstd: "20,2b"
cxxstd: "17"
os: ubuntu-22.04
install:
- clang-14
- toolset: clang
compiler: clang++-14
cxxstd: "20-gnu,2b-gnu"
cxxstd: "17-gnu"
os: ubuntu-22.04
install:
- clang-14
- toolset: clang
compiler: clang++-15
cxxstd: "20,2b"
cxxstd: "20"
os: ubuntu-22.04
install:
- clang-15
Expand All @@ -248,7 +225,7 @@ jobs:
- "https://apt.llvm.org/llvm-snapshot.gpg.key"
- toolset: clang
compiler: clang++-15
cxxstd: "20,2b"
cxxstd: "20"
os: ubuntu-22.04
install:
- clang-15
Expand Down Expand Up @@ -277,7 +254,7 @@ jobs:
cxxstd: "11,14"
os: macos-11
- toolset: clang
cxxstd: "20,2b"
cxxstd: "20"
os: macos-12

runs-on: ${{matrix.os}}
Expand Down Expand Up @@ -428,7 +405,7 @@ jobs:
cp -r $GITHUB_WORKSPACE/* libs/$LIBRARY
git submodule update --init tools/boostdep
DEPINST_ARGS+=("$LIBRARY")
python tools/boostdep/depinst/depinst.py "${DEPINST_ARGS[@]}"
python tools/boostdep/depinst/depinst.py -I doc/examples "${DEPINST_ARGS[@]}"
if [ -z "${{matrix.cmake_tests}}" ]
then
./bootstrap.sh
Expand Down Expand Up @@ -527,7 +504,7 @@ jobs:
cd boost-root
xcopy /s /e /q %GITHUB_WORKSPACE% libs\%LIBRARY%\
git submodule update --init tools/boostdep
python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" %LIBRARY%
python tools/boostdep/depinst/depinst.py -I doc/examples --git_args "--jobs 3" %LIBRARY%
cmd /c bootstrap
b2 -d0 headers
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![boosttest logo](doc/html/images/boost.test.logo.png)

# What is Boost.Test?
Boost.Test is a C++03/11/14/17 unit testing library, available on a wide range of platforms and compilers.
Boost.Test is a C++11/14/17 unit testing library, available on a wide range of platforms and compilers.

The library is part of [Boost](http://www.boost.org). The latest release
of the library is available from the boost web site.
Expand Down
2 changes: 1 addition & 1 deletion test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ test-suite "writing-test-ts"
[ boost.test-self-test run : writing-test-ts : collection-comparison-test : : : : : : $(requirements_boost_test_full_support) [ requires cxx11_unified_initialization_syntax ] ] # required by the test content
[ boost.test-self-test run : writing-test-ts : dont_print_log_value-test : : : : : : $(requirements_datasets) ]
[ boost.test-self-test run : writing-test-ts : fp-comparisons-test : : : : : : $(requirements_boost_test_full_support) ]
[ boost.test-self-test run : writing-test-ts : fp-multiprecision-comparison-test : : : : : : $(requirements_boost_test_full_support) ]
[ boost.test-self-test run : writing-test-ts : fp-multiprecision-comparison-test : : : : : : $(requirements_boost_test_full_support) [ requires cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates cxx14_constexpr ] ]
[ boost.test-self-test run : writing-test-ts : fp-no-comparison-for-incomplete-types-test ]
[ boost.test-self-test run : writing-test-ts : fp-relational-operator ]
[ boost.test-self-test run : writing-test-ts : output_test_stream-test ]
Expand Down

0 comments on commit 7285827

Please sign in to comment.