Skip to content

Commit

Permalink
Update CI to include gcc 11, clang 12, msvc 14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sdarwin authored and madmongo1 committed Dec 8, 2021
1 parent 45d9974 commit 73814da
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .drone.star
Expand Up @@ -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
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions 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.

--------------------------------------------------------------------------------

Expand Down

0 comments on commit 73814da

Please sign in to comment.