Add compile-only RISC-V Android builders
Bug: 334961878 Test: gclient checkout, cmake, ninja build Change-Id: Ie2fa99bffa175c2d4bde4ed15df2f026c2e77252 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/68267 Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
committed by
David Benjamin
parent
1b7aba8032
commit
86c417e80f
@@ -84,6 +84,9 @@ config_groups {
|
||||
name: "boringssl/try/android_arm_rel_compile"
|
||||
includable_only: true
|
||||
}
|
||||
builders {
|
||||
name: "boringssl/try/android_riscv64_compile_only"
|
||||
}
|
||||
builders {
|
||||
name: "boringssl/try/docs"
|
||||
}
|
||||
|
||||
@@ -318,6 +318,50 @@ buckets {
|
||||
value: 100
|
||||
}
|
||||
}
|
||||
builders {
|
||||
name: "android_riscv64_compile_only"
|
||||
swarming_host: "chromium-swarm.appspot.com"
|
||||
dimensions: "cpu:x86-64"
|
||||
dimensions: "os:Ubuntu-18.04"
|
||||
dimensions: "pool:luci.flex.ci"
|
||||
exe {
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
||||
cipd_version: "refs/heads/main"
|
||||
cmd: "luciexe"
|
||||
}
|
||||
properties:
|
||||
'{'
|
||||
' "$gatekeeper": {'
|
||||
' "group": "client.boringssl"'
|
||||
' },'
|
||||
' "android": true,'
|
||||
' "cmake_args": {'
|
||||
' "ANDROID_ABI": "riscv64",'
|
||||
' "ANDROID_PLATFORM": "android-35",'
|
||||
' "CMAKE_BUILD_TYPE": "Release"'
|
||||
' },'
|
||||
' "gclient_vars": {'
|
||||
' "android_ndk_revision": "wC8sJjVPRDPTbaZFlki_qXTC1lWJNbJi8glUO0woJ1MC"'
|
||||
' },'
|
||||
' "recipe": "boringssl",'
|
||||
' "run_ssl_tests": false,'
|
||||
' "run_unit_tests": false'
|
||||
'}'
|
||||
execution_timeout_secs: 1800
|
||||
caches {
|
||||
name: "gocache"
|
||||
path: "gocache"
|
||||
}
|
||||
caches {
|
||||
name: "gopath"
|
||||
path: "gopath"
|
||||
}
|
||||
service_account: "boringssl-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||
experiments {
|
||||
key: "luci.recipes.use_python3"
|
||||
value: 100
|
||||
}
|
||||
}
|
||||
builders {
|
||||
name: "docs"
|
||||
swarming_host: "chromium-swarm.appspot.com"
|
||||
@@ -2512,6 +2556,39 @@ buckets {
|
||||
value: 100
|
||||
}
|
||||
}
|
||||
builders {
|
||||
name: "android_riscv64_compile_only"
|
||||
swarming_host: "chromium-swarm.appspot.com"
|
||||
dimensions: "cpu:x86-64"
|
||||
dimensions: "os:Ubuntu-18.04"
|
||||
dimensions: "pool:luci.flex.try"
|
||||
exe {
|
||||
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
|
||||
cipd_version: "refs/heads/main"
|
||||
cmd: "luciexe"
|
||||
}
|
||||
properties:
|
||||
'{'
|
||||
' "android": true,'
|
||||
' "cmake_args": {'
|
||||
' "ANDROID_ABI": "riscv64",'
|
||||
' "ANDROID_PLATFORM": "android-35",'
|
||||
' "CMAKE_BUILD_TYPE": "Release"'
|
||||
' },'
|
||||
' "gclient_vars": {'
|
||||
' "android_ndk_revision": "wC8sJjVPRDPTbaZFlki_qXTC1lWJNbJi8glUO0woJ1MC"'
|
||||
' },'
|
||||
' "recipe": "boringssl",'
|
||||
' "run_ssl_tests": false,'
|
||||
' "run_unit_tests": false'
|
||||
'}'
|
||||
execution_timeout_secs: 1800
|
||||
service_account: "boringssl-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||
experiments {
|
||||
key: "luci.recipes.use_python3"
|
||||
value: 100
|
||||
}
|
||||
}
|
||||
builders {
|
||||
name: "docs"
|
||||
swarming_host: "chromium-swarm.appspot.com"
|
||||
|
||||
@@ -50,6 +50,11 @@ consoles {
|
||||
category: "android|arm"
|
||||
short_name: "rel"
|
||||
}
|
||||
builders {
|
||||
name: "buildbucket/luci.boringssl.ci/android_riscv64_compile_only"
|
||||
category: "android|riscv64"
|
||||
short_name: "rel"
|
||||
}
|
||||
builders {
|
||||
name: "buildbucket/luci.boringssl.ci/docs"
|
||||
short_name: "doc"
|
||||
|
||||
@@ -124,6 +124,21 @@ notifiers {
|
||||
repository: "https://boringssl.googlesource.com/boringssl"
|
||||
}
|
||||
}
|
||||
notifiers {
|
||||
notifications {
|
||||
on_occurrence: FAILURE
|
||||
on_occurrence: INFRA_FAILURE
|
||||
on_new_status: SUCCESS
|
||||
email {
|
||||
recipients: "boringssl@google.com"
|
||||
}
|
||||
}
|
||||
builders {
|
||||
bucket: "ci"
|
||||
name: "android_riscv64_compile_only"
|
||||
repository: "https://boringssl.googlesource.com/boringssl"
|
||||
}
|
||||
}
|
||||
notifiers {
|
||||
notifications {
|
||||
on_occurrence: FAILURE
|
||||
|
||||
@@ -84,6 +84,16 @@ job {
|
||||
builder: "android_arm_rel"
|
||||
}
|
||||
}
|
||||
job {
|
||||
id: "android_riscv64_compile_only"
|
||||
realm: "ci"
|
||||
acl_sets: "ci"
|
||||
buildbucket {
|
||||
server: "cr-buildbucket.appspot.com"
|
||||
bucket: "ci"
|
||||
builder: "android_riscv64_compile_only"
|
||||
}
|
||||
}
|
||||
job {
|
||||
id: "docs"
|
||||
realm: "ci"
|
||||
@@ -526,6 +536,7 @@ trigger {
|
||||
triggers: "android_arm_armmode_rel"
|
||||
triggers: "android_arm_fips"
|
||||
triggers: "android_arm_rel"
|
||||
triggers: "android_riscv64_compile_only"
|
||||
triggers: "docs"
|
||||
triggers: "ios64_compile"
|
||||
triggers: "linux"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
name: "boringssl"
|
||||
access: "group:all"
|
||||
lucicfg {
|
||||
version: "1.40.0"
|
||||
version: "1.43.6"
|
||||
package_dir: ".."
|
||||
config_dir: "generated"
|
||||
entry_point: "main.star"
|
||||
|
||||
@@ -435,6 +435,27 @@ both_builders(
|
||||
},
|
||||
},
|
||||
)
|
||||
both_builders(
|
||||
"android_riscv64_compile_only",
|
||||
LINUX_HOST,
|
||||
category = "android|riscv64",
|
||||
short_name = "rel",
|
||||
properties = {
|
||||
"android": True,
|
||||
"cmake_args": {
|
||||
"ANDROID_ABI": "riscv64",
|
||||
"ANDROID_PLATFORM": "android-35",
|
||||
"CMAKE_BUILD_TYPE": "Release",
|
||||
},
|
||||
# The default Android NDK cannot be updated until https://crbug.com/boringssl/454 is fixed.
|
||||
# Meanwhile, RISC-V support requires a newer NDK, thus we override for this builder.
|
||||
"gclient_vars": {
|
||||
"android_ndk_revision": "wC8sJjVPRDPTbaZFlki_qXTC1lWJNbJi8glUO0woJ1MC"
|
||||
},
|
||||
"run_unit_tests": False,
|
||||
"run_ssl_tests": False,
|
||||
},
|
||||
)
|
||||
|
||||
both_builders("docs", LINUX_HOST, recipe = "boringssl_docs", short_name = "doc")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user