mirror of https://github.com/rust-lang/cargo
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…
Reference in New Issue