mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-09 11:16:43 +08:00
Explictly set python3 (which will use bbagent)
Bug: chromium:1256118 Change-Id: Ib56bd2be7dd1ffe2875c44bfe13cd5cac6edadbd Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3334836 Reviewed-by: Frank Barchard <fbarchard@chromium.org> Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
This commit is contained in:
parent
66fd24c1de
commit
01a168a030
File diff suppressed because it is too large
Load Diff
15
main.star
15
main.star
@ -26,8 +26,6 @@ GOMA_BACKEND_RBE_NO_ATS_PROD = {
|
|||||||
"enable_ats": False,
|
"enable_ats": False,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Enable LUCI Realms support.
|
|
||||||
lucicfg.enable_experiment("crbug.com/1085650")
|
|
||||||
# Launch all builds in "realms-aware mode", crbug.com/1203285.
|
# Launch all builds in "realms-aware mode", crbug.com/1203285.
|
||||||
luci.builder.defaults.experiments.set(
|
luci.builder.defaults.experiments.set(
|
||||||
{
|
{
|
||||||
@ -205,7 +203,7 @@ def get_os_dimensions(os):
|
|||||||
return {"os": "Ubuntu-18.04", "cores": "8", "cpu": "x86-64"}
|
return {"os": "Ubuntu-18.04", "cores": "8", "cpu": "x86-64"}
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
def get_os_properties(os, try_builder=False):
|
def get_os_properties(os, try_builder = False):
|
||||||
if os == "android":
|
if os == "android":
|
||||||
return {"$build/goma": GOMA_BACKEND_RBE_PROD}
|
return {"$build/goma": GOMA_BACKEND_RBE_PROD}
|
||||||
elif os in ("ios", "mac"):
|
elif os in ("ios", "mac"):
|
||||||
@ -232,6 +230,7 @@ def libyuv_ci_builder(name, dimensions, properties, triggered_by):
|
|||||||
executable = luci.recipe(
|
executable = luci.recipe(
|
||||||
name = "libyuv/libyuv",
|
name = "libyuv/libyuv",
|
||||||
cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
|
cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
|
||||||
|
use_python3 = True,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -248,6 +247,7 @@ def libyuv_try_builder(name, dimensions, properties, recipe_name = "libyuv/libyu
|
|||||||
executable = luci.recipe(
|
executable = luci.recipe(
|
||||||
name = recipe_name,
|
name = recipe_name,
|
||||||
cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
|
cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
|
||||||
|
use_python3 = True,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -264,7 +264,7 @@ def ci_builder(name, os, category, short_name = None):
|
|||||||
|
|
||||||
def try_builder(name, os, experiment_percentage = None):
|
def try_builder(name, os, experiment_percentage = None):
|
||||||
dimensions = get_os_dimensions(os)
|
dimensions = get_os_dimensions(os)
|
||||||
properties = get_os_properties(os, try_builder=True)
|
properties = get_os_properties(os, try_builder = True)
|
||||||
|
|
||||||
dimensions["pool"] = "luci.flex.try"
|
dimensions["pool"] = "luci.flex.try"
|
||||||
properties["builder_group"] = "tryserver.libyuv"
|
properties["builder_group"] = "tryserver.libyuv"
|
||||||
@ -296,6 +296,7 @@ luci.builder(
|
|||||||
executable = luci.recipe(
|
executable = luci.recipe(
|
||||||
name = "libyuv/roll_deps",
|
name = "libyuv/roll_deps",
|
||||||
cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
|
cipd_package = "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build",
|
||||||
|
use_python3 = True,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -333,9 +334,9 @@ ci_builder("iOS Debug", "ios", "iOS", "dbg")
|
|||||||
ci_builder("iOS Release", "ios", "iOS", "rel")
|
ci_builder("iOS Release", "ios", "iOS", "rel")
|
||||||
|
|
||||||
# TODO(crbug.com/1242847): make this not experimental.
|
# TODO(crbug.com/1242847): make this not experimental.
|
||||||
try_builder("android", "android", experiment_percentage=100)
|
try_builder("android", "android", experiment_percentage = 100)
|
||||||
try_builder("android_arm64", "android", experiment_percentage=100)
|
try_builder("android_arm64", "android", experiment_percentage = 100)
|
||||||
try_builder("android_rel", "android", experiment_percentage=100)
|
try_builder("android_rel", "android", experiment_percentage = 100)
|
||||||
|
|
||||||
try_builder("android_x64", "linux")
|
try_builder("android_x64", "linux")
|
||||||
try_builder("android_x86", "linux")
|
try_builder("android_x86", "linux")
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
name: "libyuv"
|
name: "libyuv"
|
||||||
access: "group:all"
|
access: "group:all"
|
||||||
lucicfg {
|
lucicfg {
|
||||||
version: "1.30.1"
|
version: "1.30.5"
|
||||||
package_dir: "."
|
package_dir: "."
|
||||||
config_dir: "."
|
config_dir: "."
|
||||||
entry_point: "main.star"
|
entry_point: "main.star"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user