Skip to content

Commit

Permalink
Add M1 testing to drone
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Nov 5, 2022
1 parent cb32691 commit 325a54e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def main(ctx):
clang_6_stds = [ "c++11", "c++14", "c++17" ]
gnu_9_stds = [ "gnu++14", "c++14", "gnu++17", "c++17", "gnu++2a", "c++2a" ]
clang_10_stds = [ "c++14", "c++17", "c++2a" ]
mac_arm_tests = [ "17", "20" ]

result = []

Expand Down Expand Up @@ -52,6 +53,9 @@ def main(ctx):
result.append(linux_cxx("Ubuntu g++-11 " + cxx + " " + suite, "g++-11", packages="g++-11", buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-11', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
for cxx in clang_10_stds:
result.append(linux_cxx("Ubuntu clang++-10 " + cxx + " " + suite, "clang++-10", packages="clang-10", llvm_os="xenial", llvm_ver="10", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
for cxx in mac_arm_tests:
result.append(osx_cxx("Clang", "clang++", buildscript="drone", buildtype="boost", xcode_version="14.1", environment={'B2_TOOLSET': 'clang', 'B2_CXXSTD': cxx}, globalenv=globalenv))
result.append(osx_cxx("gcc-12", "g++-12", buildscript="drone", buildtype="boost", xcode_version="14.1", environment={'B2_TOOLSET': 'gcc-12', 'B2_CXXSTD': cxx}, globalenv=globalenv))

return result

Expand Down

0 comments on commit 325a54e

Please sign in to comment.