diff --git a/.drone.star b/.drone.star index ea6e75da..d8122f08 100644 --- a/.drone.star +++ b/.drone.star @@ -46,11 +46,13 @@ def main(ctx): linux_cxx("clang 9", "clang++-9", packages="clang-9 libc6-dbg libc++-dev libstdc++-9-dev", llvm_os="bionic", llvm_ver="9", buildtype="boost", buildscript="drone", image=linuxglobalimage, environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-9', 'B2_CXXSTD': '11,14,17,2a', 'DRONE_JOB_UUID': '9e6a55b6b4'}, globalenv=globalenv), linux_cxx("clang 10", "clang++-10", packages="clang-10 libc6-dbg libc++-dev libstdc++-9-dev", llvm_os="focal", llvm_ver="10", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2004:1", environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-10', 'B2_CXXSTD': '11,14,17,2a', 'DRONE_JOB_UUID': '9e6a55b6c4'}, globalenv=globalenv), linux_cxx("clang 11", "clang++-11", packages="clang-11 libc6-dbg libc++-dev libstdc++-9-dev", llvm_os="focal", llvm_ver="11", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2004:1", environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-11', 'B2_CXXSTD': '11,14,17,2a', 'DRONE_JOB_UUID': '9e6a55b6b4'}, globalenv=globalenv), + linux_cxx("clang 12", "clang++-12", packages="clang-12 libc6-dbg libc++-dev libstdc++-9-dev", llvm_os="focal", llvm_ver="12", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2004:1", environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-12', 'B2_CXXSTD': '11,14,17,20', 'DRONE_JOB_UUID': '9e6a55b6b5'}, globalenv=globalenv), linux_cxx("clang 6.0 libc++", "clang++-6.0", packages="clang-6.0 libc6-dbg libc++-dev libstdc++-8-dev libc++abi-dev", llvm_os="bionic", llvm_ver="6.0", buildtype="boost", buildscript="drone", image=linuxglobalimage, environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-6.0', 'B2_CXXSTD': '11,14', 'B2_STDLIB': 'libc++', 'DRONE_JOB_UUID': 'b3f0c7f6bb'}, globalenv=globalenv), osx_cxx("clang", "g++", packages="", buildtype="boost", buildscript="drone", environment={'B2_TOOLSET': 'clang', 'B2_CXXSTD': '11,17', 'DRONE_JOB_UUID': '91032ad7bb'}, globalenv=globalenv), linux_cxx("coverity", "g++", packages="", buildtype="coverity", buildscript="drone", image=linuxglobalimage, environment={'COMMENT': 'Coverity Scan', 'B2_TOOLSET': 'clang', 'DRONE_JOB_UUID': '472b07b9fc'}, globalenv=globalenv), windows_cxx("msvc-14.1", "", image="cppalliance/dronevs2017", buildtype="boost", buildscript="drone", environment={ "VARIANT": "release", "TOOLSET": "msvc-14.1", "CXXSTD": "17", "DEFINE" : "BOOST_BEAST_USE_STD_STRING_VIEW", "ADDRESS_MODEL": "64"}), windows_cxx("msvc-14.2", "", image="cppalliance/dronevs2019", buildtype="boost", buildscript="drone", environment={ "VARIANT": "release", "TOOLSET": "msvc-14.2", "CXXSTD": "17", "DEFINE" : "BOOST_BEAST_USE_STD_STRING_VIEW", "ADDRESS_MODEL": "64"}), + windows_cxx("msvc-14.3", "", image="cppalliance/dronevs2022:1", buildtype="boost", buildscript="drone", environment={ "VARIANT": "release", "TOOLSET": "msvc-14.3", "CXXSTD": "20", "DEFINE" : "BOOST_BEAST_USE_STD_STRING_VIEW", "ADDRESS_MODEL": "64"}), ] # from https://github.com/boostorg/boost-ci diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b4ab86b..8e91f0d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,11 @@ jobs: os: ubuntu-18.04 install: g++-10 supported: true + - toolset: gcc-11 + cxxstd: "11,14,17,20" + os: ubuntu-20.04 + install: g++-11 + supported: true # clang 3.5 not supported # It can't compile the websocket stream code - toolset: clang @@ -128,6 +133,18 @@ jobs: cxxstd: "11,14,17,2a" os: ubuntu-20.04 supported: true + - toolset: clang + install: clang-11 + compiler: clang++-11 + cxxstd: "11,14,17,2a" + os: ubuntu-20.04 + supported: true + - toolset: clang + install: clang-12 + compiler: clang++-12 + cxxstd: "11,14,17,20" + os: ubuntu-20.04 + supported: true # macos - description: macos-cxx11 toolset: clang @@ -319,6 +336,48 @@ jobs: os: windows-2019 cxxflags: "cxxflags=-D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING=1" supported: true + # - description: msvc-14.3-cxx14-win32 + # toolset: msvc-14.3 + # cxxstd: "14" + # addrmd: 32 + # os: windows-2022 + # cxxflags: "" + # supported: true + # - description: msvc-14.3-cxx17-win32 + # toolset: msvc-14.3 + # cxxstd: "17" + # addrmd: 32 + # os: windows-2022 + # cxxflags: "cxxflags=-D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING=1" + # supported: true + - description: msvc-14.3-cxx20-win32 + toolset: msvc-14.3 + cxxstd: "20" + addrmd: 32 + os: windows-2022 + cxxflags: "cxxflags=-D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING=1" + supported: true + # - description: msvc-14.3-cxx14-win64 + # toolset: msvc-14.3 + # cxxstd: "14" + # addrmd: 64 + # os: windows-2022 + # cxxflags: "" + # supported: true + # - description: msvc-14.3-cxx17-win64 + # toolset: msvc-14.3 + # cxxstd: "17" + # addrmd: 64 + # os: windows-2022 + # cxxflags: "cxxflags=-D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING=1" + # supported: true + - description: msvc-14.3-cxx20-win64 + toolset: msvc-14.3 + cxxstd: "20" + addrmd: 64 + os: windows-2022 + cxxflags: "cxxflags=-D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING=1" + supported: true - toolset: gcc cxxstd: "11,14,17,2a" addrmd: 64 diff --git a/CHANGELOG.md b/CHANGELOG.md index 79e796f3..d3d77f8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version XXX: * Add individual tests to CMake workflow. +* Update CI to include gcc 11, clang 12, msvc 14.3. --------------------------------------------------------------------------------