Skip to content

Commit

Permalink
Removed gcc-4.8 and 4.9 from GHA CI. Added gcc-11 toolchain for clang.
Browse files Browse the repository at this point in the history
Boost.ASIO does not compile in C++11 mode on gcc prior to 5 as it uses
std::align.

Clang prior to 16 does not support libstdc++13 that is installed in
GHA ubuntu-22.04 image by default in C++20 mode. Use libstdc++11
instead.
  • Loading branch information
Lastique committed Nov 25, 2023
1 parent 07edd2f commit 8b921b6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,13 @@ jobs:
matrix:
include:
# Linux, gcc
- toolset: gcc-4.8
cxxstd: "11"
os: ubuntu-latest
container: ubuntu:18.04
install:
- g++-4.8
- toolset: gcc-4.9
cxxstd: "11"
os: ubuntu-latest
container: ubuntu:16.04
install:
- g++-4.9
extra_tests: 1
- toolset: gcc-5
cxxstd: "11,14,1z"
os: ubuntu-latest
container: ubuntu:16.04
install:
- g++-5
extra_tests: 1
- toolset: gcc-6
cxxstd: "11,14,1z"
os: ubuntu-latest
Expand Down Expand Up @@ -193,30 +181,40 @@ jobs:
os: ubuntu-22.04
install:
- clang-11
- g++-11
gcc_toolchain: 11
- toolset: clang
compiler: clang++-12
cxxstd: "11,14,17,20,2b"
os: ubuntu-22.04
install:
- clang-12
- g++-11
gcc_toolchain: 11
- toolset: clang
compiler: clang++-13
cxxstd: "11,14,17,20,2b"
os: ubuntu-22.04
install:
- clang-13
- g++-11
gcc_toolchain: 11
- toolset: clang
compiler: clang++-14
cxxstd: "11,14,17,20,2b"
os: ubuntu-22.04
install:
- clang-14
- g++-11
gcc_toolchain: 11
- toolset: clang
compiler: clang++-15
cxxstd: "11,14,17,20,2b"
os: ubuntu-22.04
install:
- clang-15
- g++-11
gcc_toolchain: 11
- toolset: clang
compiler: clang++-16
cxxstd: "11,14,17,20,2b"
Expand Down
2 changes: 1 addition & 1 deletion doc/log.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ The library should build and work with a reasonably compliant C++11 compiler. Th

* Windows 10. MSVC 14.0 and newer. MinGW32 with gcc 5.x and MinGW-w64 with gcc 6.x and newer.
* Cygwin and Cygwin64 with gcc 7.x and newer.
* Linux. GCC 4.8 and newer.
* Linux. GCC 5.x and newer.
* Linux. Clang 3.5 and newer.

The following compilers/platforms are not supported and will likely fail to compile the library:
Expand Down

0 comments on commit 8b921b6

Please sign in to comment.