Print CPU info in output

This commit is contained in:
Leonard Lausen 2020-06-01 20:51:11 +00:00
parent b31a68b835
commit 5a709b8340
1 changed files with 11 additions and 0 deletions

View File

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