mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
Adds the crosvm-side infrastructure to build and test in kokoro. There is a build script for testing on x86, aarch64 and a separte script for analysis (clippy, fmt). These will run in parallel on Kokoro. To test the scripts locally, a simulate script is provided. Runtime on my workstation: - aarch64: 10m - x86: 2:30m - analysis: 1:40m BUG=b:177951955 TEST=./ci/kokoro/simulate_all Change-Id: I2f666ec768e6c3391a258dc7f0cbd999ad9b2fb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2654413 Tested-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com> Reviewed-by: Stephen Barber <smbarber@chromium.org>
20 lines
602 B
Bash
Executable file
20 lines
602 B
Bash
Executable file
#!/bin/bash
|
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# Simulates all kokoro jobs (In parallel if tmux is installed)
|
|
|
|
cd $(dirname "$0")
|
|
|
|
if command -v tmux; then
|
|
TMUX= tmux \
|
|
new-session './simulate build-x86_64.sh;
|
|
echo "press enter to close"; read' \; \
|
|
split-window './simulate build-aarch64.sh;
|
|
echo "press enter to close"; read' \;
|
|
else
|
|
./simulate build-x86.sh &&
|
|
./simulate build-analysis.sh &&
|
|
./simulate build-aarch64.sh
|
|
fi
|