mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 22:36:01 +00:00
show number of cores and total physical memory on Windows GitHub Actions (#4504)
This commit is contained in:
parent
2324136552
commit
d2e9cdf1a0
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -123,6 +123,8 @@ jobs:
|
|||||||
'Windows')
|
'Windows')
|
||||||
ncpu=${NUMBER_OF_PROCESSORS}
|
ncpu=${NUMBER_OF_PROCESSORS}
|
||||||
make_cmd="mingw32-make"
|
make_cmd="mingw32-make"
|
||||||
|
echo "Number of cores: ${NUMBER_OF_PROCESSORS}"
|
||||||
|
echo "Physical memory: $(wmic ComputerSystem get TotalPhysicalMemory)"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
[[ -z "$ncpu" || $ncpu -le 0 ]] && ncpu=1
|
[[ -z "$ncpu" || $ncpu -le 0 ]] && ncpu=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user