From 8b921b6352e76ff54f5674c864d1f4f749c9158b Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sat, 25 Nov 2023 15:51:14 +0300 Subject: [PATCH] Removed gcc-4.8 and 4.9 from GHA CI. Added gcc-11 toolchain for clang. 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. --- .github/workflows/ci.yml | 24 +++++++++++------------- doc/log.qbk | 2 +- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f19f6253c..2a04eb95e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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" diff --git a/doc/log.qbk b/doc/log.qbk index 99e0c42f2..f5e4fef54 100644 --- a/doc/log.qbk +++ b/doc/log.qbk @@ -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: