mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Display CPU info in CI
This commit is contained in:
parent
8607003bc2
commit
a371b1a6f4
@ -11,3 +11,12 @@ echo
|
||||
echo "disk usage:"
|
||||
df -h
|
||||
echo
|
||||
|
||||
echo "CPU info:"
|
||||
if [[ "${OSTYPE}" = "darwin"* ]]; then
|
||||
system_profiler SPHardwareDataType || true
|
||||
sysctl hw || true
|
||||
else
|
||||
cat /proc/cpuinfo || true
|
||||
cat /proc/meminfo || true
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user