Commit graph

2 commits

Author SHA1 Message Date
Dennis Kempin
4d1e9f503b infra: Add recipe for generating coverage
The recipe will use the newly added --generate-lcov flag to generate
a profile, which is then uploaded to codecov.io.

The codecov.io uploader is stored in CIPD, and our upload token
is kept secure by Secret Manager.

To prevent token from being leaked in a log, the token is downloaded
and added by a wrapper shell script.

BUG=b:239255082
TEST=./recipes.py run build_coverage

Change-Id: Ie8197864d9ecc12ebefe81235f2d62bd7342d0c7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3805832
Tested-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2022-08-04 04:16:00 +00:00
Dennis Kempin
323d267a8c infra: Add build_windows recipe
Refactors the crosvm recipe API a little to provide 3 different
environments for builds: Just the source, building with containers
and building on the host.

For building on the host, we will install rustup-init via CIPD and
then use rustup to install the required rust version.

BUG=b:233914170
TEST=./recipes.py run build_windows

Change-Id: I12ef22f286af584edeb02beed4d231565b698099
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3718900
Reviewed-by: Vikram Auradkar <auradkar@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-07-01 20:11:59 +00:00