mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
5b33efd60f
This will be required for running the new run_tests2 test runner on windows builders. BUG=b:261600801 TEST=https://ci.chromium.org/swarming/task/6046843e9ebd3810 Change-Id: I39170e75b47c07b9735452d48fdce5d9c3745594 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4228428 Commit-Queue: Dennis Kempin <denniskempin@google.com> Reviewed-by: Vikram Auradkar <auradkar@google.com>
25 lines
650 B
Bash
Executable file
25 lines
650 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Copyright 2022 The ChromiumOS Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
set -ex
|
|
|
|
BUILD_DIR=$(mktemp -d)
|
|
cd "$BUILD_DIR" || exit 1
|
|
|
|
CIPD_ARGS=(
|
|
-pkg-var "description:cargo-nextest modern test runner for cargo"
|
|
-install-mode copy
|
|
-ref latest
|
|
)
|
|
|
|
|
|
cd $(mktemp -d)
|
|
curl -L "https://get.nexte.st/latest/windows" | jar xv
|
|
cipd create -in "." -name "crosvm/cargo-nextest/windows-amd64" "${CIPD_ARGS[@]}"
|
|
|
|
cd $(mktemp -d)
|
|
curl -L "https://get.nexte.st/latest/linux" | tar zxv
|
|
cipd create -in "." -name "crosvm/cargo-nextest/linux-amd64" "${CIPD_ARGS[@]}"
|
|
|