mirror of
https://github.com/boostorg/unordered.git
synced 2026-08-03 20:24:07 +02:00
Drone: llvm apt installation (#323)
This commit is contained in:
+4
-1
@@ -34,8 +34,9 @@ local linux_pipeline(name, image, environment, packages = "", sources = [], arch
|
|||||||
commands:
|
commands:
|
||||||
[
|
[
|
||||||
'set -e',
|
'set -e',
|
||||||
|
'echo $DRONE_STAGE_MACHINE',
|
||||||
'uname -a',
|
'uname -a',
|
||||||
'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -',
|
'curl -sSL --retry 5 https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/llvm-snapshot.gpg',
|
||||||
] +
|
] +
|
||||||
(if sources != [] then [ ('apt-add-repository "' + source + '"') for source in sources ] else []) +
|
(if sources != [] then [ ('apt-add-repository "' + source + '"') for source in sources ] else []) +
|
||||||
(if packages != "" then [ 'apt-get update', 'apt-get -y install ' + packages ] else []) +
|
(if packages != "" then [ 'apt-get update', 'apt-get -y install ' + packages ] else []) +
|
||||||
@@ -66,6 +67,8 @@ local macos_pipeline(name, environment, xcode_version = "12.2", osx_version = "c
|
|||||||
environment: environment + { "DEVELOPER_DIR": "/Applications/Xcode-" + xcode_version + ".app/Contents/Developer" },
|
environment: environment + { "DEVELOPER_DIR": "/Applications/Xcode-" + xcode_version + ".app/Contents/Developer" },
|
||||||
commands:
|
commands:
|
||||||
[
|
[
|
||||||
|
'echo $DRONE_STAGE_MACHINE',
|
||||||
|
'sw_vers',
|
||||||
'uname -a',
|
'uname -a',
|
||||||
'export LIBRARY=' + library,
|
'export LIBRARY=' + library,
|
||||||
'./.drone/drone.sh',
|
'./.drone/drone.sh',
|
||||||
|
|||||||
Reference in New Issue
Block a user