mirror of
https://github.com/boostorg/system.git
synced 2025-08-15 12:00:54 +02:00
Update .drone.jsonnet
This commit is contained in:
@@ -21,10 +21,10 @@ local linux_pipeline(name, image, environment, packages = "", sources = [], arch
|
|||||||
steps:
|
steps:
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "everything",
|
name: "everything",
|
||||||
"image": image,
|
image: image,
|
||||||
"environment": environment,
|
environment: environment,
|
||||||
"commands":
|
commands:
|
||||||
[
|
[
|
||||||
'set -e',
|
'set -e',
|
||||||
'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -',
|
'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -',
|
||||||
@@ -43,8 +43,44 @@ local macos_pipeline =
|
|||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
local windows_pipeline =
|
local windows_pipeline(name, image, environment, arch = "amd64") =
|
||||||
{
|
{
|
||||||
|
name: name,
|
||||||
|
kind: "pipeline",
|
||||||
|
type: "docker",
|
||||||
|
trigger: triggers,
|
||||||
|
platform:
|
||||||
|
{
|
||||||
|
os: "windows",
|
||||||
|
arch: arch
|
||||||
|
},
|
||||||
|
"steps":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
name: "everything",
|
||||||
|
image: image,
|
||||||
|
environment: environment,
|
||||||
|
commands:
|
||||||
|
[
|
||||||
|
'set SELF=system',
|
||||||
|
|
||||||
|
'set DRONE_BUILD_DIR=%CD%',
|
||||||
|
'set BOOST_BRANCH=develop',
|
||||||
|
'if "%DRONE_BRANCH%" == "master" set BOOST_BRANCH=master',
|
||||||
|
'cd ..',
|
||||||
|
'git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root',
|
||||||
|
'cd boost-root',
|
||||||
|
'git submodule update --init tools/boostdep',
|
||||||
|
'xcopy /s /e /q %DRONE_BUILD_DIR% libs\%SELF%\',
|
||||||
|
'python tools/boostdep/depinst/depinst.py %SELF%',
|
||||||
|
'cmd /c bootstrap',
|
||||||
|
'b2 -d0 headers',
|
||||||
|
'if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%',
|
||||||
|
'if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%',
|
||||||
|
'b2 -j3 libs/%SELF%/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release embed-manifest-via=linker',
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
[
|
[
|
||||||
@@ -139,4 +175,10 @@ local windows_pipeline =
|
|||||||
"clang-14",
|
"clang-14",
|
||||||
["deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main"],
|
["deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main"],
|
||||||
),
|
),
|
||||||
|
|
||||||
|
windows_pipeline(
|
||||||
|
"Windows VS2015 msvc-14.0",
|
||||||
|
"cppalliance/dronevs2015",
|
||||||
|
{ TOOLSET: 'msvc-14.0', CXXSTD: '14,latest' },
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user