|
| 1 | +# Use, modification, and distribution are |
| 2 | +# subject to the Boost Software License, Version 1.0. (See accompanying |
| 3 | +# file LICENSE.txt) |
| 4 | +# |
| 5 | +# Copyright Rene Rivera 2020. |
| 6 | + |
| 7 | +# For Drone CI we use the Starlark scripting language to reduce duplication. |
| 8 | +# As the yaml syntax for Drone CI is rather limited. |
| 9 | +# |
| 10 | +# |
| 11 | +globalenv={} |
| 12 | +linuxglobalimage="cppalliance/droneubuntu1604:1" |
| 13 | +windowsglobalimage="cppalliance/dronevs2019" |
| 14 | + |
| 15 | +def main(ctx): |
| 16 | + return [ |
| 17 | + linux_cxx("TOOLSET=gcc CXXSTD=03,11 Job 0", "g++", packages="", buildtype="boost", buildscript="drone", image=linuxglobalimage, environment={'TOOLSET': 'gcc', 'CXXSTD': '03,11', 'DRONE_JOB_UUID': 'b6589fc6ab'}, globalenv=globalenv), |
| 18 | + linux_cxx("TOOLSET=gcc-5 CXXSTD=03,11,14,1z Job 1", "g++-5", packages="g++-5", buildtype="boost", buildscript="drone", image=linuxglobalimage, environment={'TOOLSET': 'gcc-5', 'CXXSTD': '03,11,14,1z', 'DRONE_JOB_UUID': '356a192b79'}, globalenv=globalenv), |
| 19 | + linux_cxx("TOOLSET=gcc-6 CXXSTD=03,11,14,1z Job 2", "g++-6", packages="g++-6", buildtype="boost", buildscript="drone", image=linuxglobalimage, environment={'TOOLSET': 'gcc-6', 'CXXSTD': '03,11,14,1z', 'DRONE_JOB_UUID': 'da4b9237ba'}, globalenv=globalenv), |
| 20 | + linux_cxx("TOOLSET=gcc-7 CXXSTD=03,11,14,17 Job 3", "g++-7", packages="g++-7", buildtype="boost", buildscript="drone", image=linuxglobalimage, environment={'TOOLSET': 'gcc-7', 'CXXSTD': '03,11,14,17', 'DRONE_JOB_UUID': '77de68daec'}, globalenv=globalenv), |
| 21 | + linux_cxx("TOOLSET=clang CXXSTD=03,11,14,1z Job 4", "clang++", packages="", buildtype="boost", buildscript="drone", image=linuxglobalimage, environment={'TOOLSET': 'clang', 'CXXSTD': '03,11,14,1z', 'DRONE_JOB_UUID': '1b64538924'}, globalenv=globalenv), |
| 22 | + osx_cxx("TOOLSET=clang CXXSTD=03,11,14,1z Job 5", "clang++", packages="", buildtype="boost", buildscript="drone", environment={'TOOLSET': 'clang', 'CXXSTD': '03,11,14,1z', 'DRONE_JOB_UUID': 'ac3478d69a'}, globalenv=globalenv), |
| 23 | + ] |
| 24 | + |
| 25 | +# from https://github.com/boostorg/boost-ci |
| 26 | +load("@boost_ci//ci/drone/:functions.star", "linux_cxx","windows_cxx","osx_cxx","freebsd_cxx") |
0 commit comments