mirror of
https://github.com/uutils/coreutils
synced 2024-12-04 18:39:52 +00:00
improve debug info provided by CI
This commit is contained in:
parent
cec981350a
commit
f3bbf53412
3 changed files with 11 additions and 7 deletions
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
|
@ -19,7 +19,7 @@ concurrency:
|
|||
|
||||
env:
|
||||
TERMUX: v0.118.0
|
||||
KEY_POSTFIX: nextest+rustc-hash+adb+sshd+upgrade+XGB+inc17
|
||||
KEY_POSTFIX: nextest+rustc-hash+adb+sshd+upgrade+XGB+inc18
|
||||
COMMON_EMULATOR_OPTIONS: -no-window -noaudio -no-boot-anim -camera-back none -gpu swiftshader_indirect
|
||||
EMULATOR_DISK_SIZE: 12GB
|
||||
EMULATOR_HEAP_SIZE: 2048M
|
||||
|
|
|
@ -371,7 +371,6 @@ run_command_via_ssh() {
|
|||
|
||||
test_ssh_connection() {
|
||||
run_command_via_ssh echo ssh connection is working
|
||||
run_command_via_ssh free -mh
|
||||
}
|
||||
|
||||
# takes a local (on runner side) script file and runs it via ssh on the virtual android device. forwards return code.
|
||||
|
@ -509,7 +508,7 @@ snapshot() {
|
|||
|
||||
apt_upgrade_all_packages
|
||||
|
||||
install_packages_via_ssh_using_apt "rust binutils openssl tar"
|
||||
install_packages_via_ssh_using_apt "rust binutils openssl tar mount-utils"
|
||||
|
||||
echo "Read /proc/cpuinfo"
|
||||
run_command_via_ssh "cat /proc/cpuinfo"
|
||||
|
@ -573,8 +572,7 @@ build() {
|
|||
|
||||
reinit_ssh_connection
|
||||
|
||||
echo "Read /proc/cpuinfo"
|
||||
run_command_via_ssh "cat /proc/cpuinfo"
|
||||
run_script_file_via_ssh "$this_repo/util/android-scripts/collect-info.sh"
|
||||
|
||||
command="export CARGO_TERM_COLOR=always;
|
||||
export CARGO_INCREMENTAL=0; \
|
||||
|
@ -589,8 +587,7 @@ tests() {
|
|||
|
||||
reinit_ssh_connection
|
||||
|
||||
echo "Read /proc/cpuinfo"
|
||||
run_command_via_ssh "cat /proc/cpuinfo"
|
||||
run_script_file_via_ssh "$this_repo/util/android-scripts/collect-info.sh"
|
||||
|
||||
run_script_file_via_ssh "$this_repo/util/android-scripts/run-tests.sh" || return
|
||||
|
||||
|
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
# spell-checker:ignore nextest watchplus PIPESTATUS
|
||||
|
||||
echo "system resources - RAM:"
|
||||
free -hm
|
||||
echo "system resources - CPU:"
|
||||
lscpu
|
||||
echo "system resources - file systems:"
|
||||
mount
|
||||
|
||||
echo "$HOME"
|
||||
PATH=$HOME/.cargo/bin:$PATH
|
||||
export PATH
|
||||
|
|
Loading…
Reference in a new issue