Display CPU info in CI

This commit is contained in:
Eric Huss 2022-12-15 19:35:24 -08:00
parent 8607003bc2
commit a371b1a6f4
1 changed files with 9 additions and 0 deletions

View File

@ -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