blob: 885a52f56e93aec21195d3ec71c6a6f00ce3f8b0 [file] [log] [blame]
# Copyright (c) 2023 The Dart project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""
Defines the DDC builders.
"""
load("//lib/cron.star", "cron")
load("//lib/dart.star", "dart")
load(
"//lib/defaults.star",
"arm64",
"chrome",
"firefox",
"mac",
"no_android",
"windows",
)
load("//lib/paths.star", "paths")
dart.poller("ddc-gitiles-trigger", branches = ["main"], paths = paths.ddc)
dart.ci_sandbox_builder(
"ddc-linux-chrome",
category = "ddc|l",
properties = [chrome, no_android],
location_filters = paths.to_location_filters(paths.ddc),
)
dart.ci_sandbox_builder(
"ddc-mac-chrome",
category = "ddc|m",
dimensions = [arm64, mac],
properties = [chrome, no_android],
)
dart.ci_sandbox_builder(
"ddc-win-chrome",
category = "ddc|w",
dimensions = windows,
properties = [chrome, no_android],
)
dart.ci_sandbox_builder(
"ddc-linux-firefox",
category = "ddc|f",
channels = ["try"],
properties = [firefox, no_android],
triggered_by = ["ddc-gitiles-trigger-%s"],
)
dart.ci_sandbox_builder(
"ddc-linux-chrome-unsound",
category = "ddc|u",
channels = ["try"],
location_filters = paths.to_location_filters(paths.ddc),
properties = [chrome, no_android],
)
cron.nightly_builder(
"ddc-canary-linux-chrome",
category = "ddc|c",
channels = ["try"],
properties = [chrome, no_android],
)
cron.nightly_builder(
"ddc-hostasserts-linux-d8",
category = "ddc|h",
channels = ["try"],
properties = [no_android],
)