Skip to content

Commit

Permalink
Display CPU info in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Dec 16, 2022
1 parent 8607003 commit a371b1a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ci/dump-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a371b1a

Please sign in to comment.