-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.star
20 lines (16 loc) · 941 Bytes
/
.drone.star
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (c) 2024 Dmitry Arkhipov ([email protected])
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
# For Drone CI we use the Starlark scripting language to reduce duplication.
# As the yaml syntax for Drone CI is rather limited.
linuxglobalimage="cppalliance/droneubuntu1804:1"
def main(ctx):
return [
linux_cxx("B2", "g++", packages="gdb", buildscript="drone", buildtype="b2", image=linuxglobalimage),
linux_cxx("B2 no GDB", "g++", buildscript="drone", buildtype="b2", image=linuxglobalimage),
linux_cxx("CMake", "g++", packages="gdb", buildtype="cmake", buildscript="drone", image=linuxglobalimage),
linux_cxx("CMake no GDB", "g++", buildtype="cmake", buildscript="drone", image=linuxglobalimage),
]
# from https://github.com/boostorg/boost-ci
load("@boost_ci//ci/drone/:functions.star", "linux_cxx")