Skip to content

Commit a371b1a

Browse files
committed
Display CPU info in CI
1 parent 8607003 commit a371b1a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ci/dump-environment.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,12 @@ echo
1111
echo "disk usage:"
1212
df -h
1313
echo
14+
15+
echo "CPU info:"
16+
if [[ "${OSTYPE}" = "darwin"* ]]; then
17+
system_profiler SPHardwareDataType || true
18+
sysctl hw || true
19+
else
20+
cat /proc/cpuinfo || true
21+
cat /proc/meminfo || true
22+
fi

0 commit comments

Comments
 (0)