diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2afdeca..78be56a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -155,22 +155,31 @@ jobs: cxxstd64: "11,14,17,20,23,11-gnu,14-gnu,17-gnu,20-gnu,23-gnu" cxxstd32: "11,11-gnu" os: ubuntu-latest - container: ubuntu:23.04 + container: ubuntu:24.04 install: - g++-13 - g++-13-multilib - linux-libc-dev:i386 + - toolset: gcc-14 + cxxstd64: "11,14,17,20,23,11-gnu,14-gnu,17-gnu,20-gnu,23-gnu,26-gnu" + cxxstd32: "11,11-gnu" + os: ubuntu-latest + container: ubuntu:24.04 + install: + - g++-14 + - g++-14-multilib + - linux-libc-dev:i386 - name: UBSAN - toolset: gcc-11 + toolset: gcc-13 cxxstd64: "11,14,17,20,23,11-gnu,14-gnu,17-gnu,20-gnu,23-gnu" cxxstd32: "11,11-gnu" ubsan: 1 build_variant: debug os: ubuntu-latest - container: ubuntu:22.04 + container: ubuntu:24.04 install: - - g++-11 - - g++-11-multilib + - g++-13 + - g++-13-multilib - linux-libc-dev:i386 # Linux, clang @@ -396,64 +405,79 @@ jobs: cxxstd64: "11,14,17,20,2b,11-gnu,14-gnu,17-gnu,20-gnu,2b-gnu" cxxstd32: "11,11-gnu" os: ubuntu-latest - container: ubuntu:22.04 + container: ubuntu:24.04 install: - clang-16 - g++-11 - g++-11-multilib - linux-libc-dev:i386 gcc_toolchain: 11 - sources: - - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" - source_keys: - - "https://apt.llvm.org/llvm-snapshot.gpg.key" - toolset: clang compiler: clang++-17 cxxstd64: "11,14,17,20,23,11-gnu,14-gnu,17-gnu,20-gnu,23-gnu" cxxstd32: "11,11-gnu" os: ubuntu-latest - container: ubuntu:22.04 + container: ubuntu:24.04 install: - clang-17 - g++-11 - g++-11-multilib - linux-libc-dev:i386 gcc_toolchain: 11 + - toolset: clang + compiler: clang++-18 + cxxstd64: "11,14,17,20,23,11-gnu,14-gnu,17-gnu,20-gnu,23-gnu,26-gnu" + cxxstd32: "11,11-gnu" + os: ubuntu-latest + container: ubuntu:24.04 + install: + - clang-18 + - g++-13 + - g++-13-multilib + - linux-libc-dev:i386 + - toolset: clang + compiler: clang++-19 + cxxstd64: "11,14,17,20,23,11-gnu,14-gnu,17-gnu,20-gnu,23-gnu,26-gnu" + cxxstd32: "11,11-gnu" + os: ubuntu-latest + container: ubuntu:24.04 + install: + - clang-19 + - g++-13 + - g++-13-multilib + - linux-libc-dev:i386 sources: - - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" + - "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main" source_keys: - "https://apt.llvm.org/llvm-snapshot.gpg.key" - toolset: clang - compiler: clang++-17 - cxxstd64: "11,14,17,20,23" + compiler: clang++-19 + cxxstd64: "11,14,17,20,23,26" cxxflags: -stdlib=libc++ linkflags: -stdlib=libc++ - os: ubuntu-22.04 + os: ubuntu-24.04 install: - - clang-17 - - libc++-17-dev - - libc++abi-17-dev + - clang-19 + - libc++-19-dev + - libc++abi-19-dev sources: - - "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" + - "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main" source_keys: - "https://apt.llvm.org/llvm-snapshot.gpg.key" - name: UBSAN toolset: clang - compiler: clang++-15 - cxxstd64: "11,14,17,20,2b,11-gnu,14-gnu,17-gnu,20-gnu,2b-gnu" + compiler: clang++-18 + cxxstd64: "11,14,17,20,23,26,11-gnu,14-gnu,17-gnu,20-gnu,23-gnu,26-gnu" cxxflags: -stdlib=libc++ linkflags: -stdlib=libc++ ubsan: 1 build_variant: debug - os: ubuntu-22.04 + os: ubuntu-24.04 install: - - clang-15 - - libc++-15-dev - - libc++abi-15-dev + - clang-18 + - libc++-18-dev + - libc++abi-18-dev - - toolset: clang - cxxstd64: "11,14,17,20,2b" - os: macos-12 - toolset: clang cxxstd64: "11,14,17,20,2b" os: macos-13 @@ -768,9 +792,13 @@ jobs: cxxstd64: "11-gnu,14-gnu,17-gnu,2a-gnu" os: windows-2019 - - name: CMake tests + - name: CMake MSVC tests + cmake_tests: 1 + os: windows-2022 + - name: CMake MinGW-w64 tests cmake_tests: 1 os: windows-2022 + cmake_generator: "MinGW Makefiles" timeout-minutes: 30 runs-on: ${{matrix.os}} @@ -840,6 +868,7 @@ jobs: - name: Build CMake tests if: matrix.cmake_tests run: | + if not "${{matrix.cmake_generator}}" == "" set "CMAKE_GENERATOR=${{matrix.cmake_generator}}" cd boost-root mkdir __build_static__ cd __build_static__