Run Sized Linux checks on the existing Gitea runner
Sized Linux checks / Linux AMD64 / Rust 1.88.0 (push) Failing after 5s
Sized Linux checks / Linux AMD64 / Rust 1.88.0 (push) Failing after 5s
This commit is contained in:
@@ -10,8 +10,9 @@ cargo --version
|
||||
# Only source inputs are copied. Cargo output and all fixtures disappear with
|
||||
# the container; the host checkout is read-only and no personal tree is scanned.
|
||||
check_root=$(mktemp -d /tmp/sized-check.XXXXXX)
|
||||
cp /source/Cargo.toml /source/Cargo.lock "$check_root/"
|
||||
cp -R /source/src /source/tests /source/benches "$check_root/"
|
||||
source_root=${SIZED_TEST_SOURCE:-/source}
|
||||
cp "$source_root/Cargo.toml" "$source_root/Cargo.lock" "$check_root/"
|
||||
cp -R "$source_root/src" "$source_root/tests" "$source_root/benches" "$check_root/"
|
||||
cd "$check_root"
|
||||
cargo fmt --all -- --check
|
||||
cargo test --locked
|
||||
|
||||
Reference in New Issue
Block a user