blob: eeae03a0c142a2d0daa9924e69a3ce2846219330 [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can
# found in the LICENSE file.
DEPS = [
'fuchsia/assembly',
'fuchsia/checkout',
'fuchsia/build',
'recipe_engine/buildbucket',
'recipe_engine/path',
]
def RunSteps(api):
checkout = api.checkout.fuchsia_with_options(
path=api.path['start_dir'],
build=api.buildbucket.build,
manifest='minimal',
remote='https://fuchsia.googlesource.com/manifest',
)
build = api.build.with_options(
checkout=checkout,
build_dir=api.path['start_dir'].join('out', 'default'),
target='x64',
build_type='debug',
product='products/core.gni',
board='boards/x64.gni',
packages=['//bundles/buildbot:core'],
)
api.assembly.upload(
'upload artifacts',
build=build,
gcs_bucket='fuchsia-infra-artifacts',
)
def GenTests(api):
yield api.test('basic') + api.buildbucket.try_build()