From 050a3d3c2c60973cd084869af190352eb899b634 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Sat, 5 Nov 2022 11:30:50 -0700 Subject: [PATCH] Add M1 testing to drone --- .drone.star | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.star b/.drone.star index 96de1f90fe..d3f08375a0 100644 --- a/.drone.star +++ b/.drone.star @@ -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 = [] @@ -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