Print CPU info in output
This commit is contained in:
parent
b31a68b835
commit
5a709b8340
|
@ -26,6 +26,17 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-ccache
|
||||
|
||||
- name: Print system information
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||
cat /proc/cpuinfo
|
||||
elif [ "$RUNNER_OS" == "macOS" ]; then
|
||||
sysctl -a | grep machdep.cpu
|
||||
else
|
||||
echo "$RUNNER_OS not supported"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||
|
|
Loading…
Reference in New Issue