show number of cores and total physical memory on Windows GitHub Actions (#4504)
This commit is contained in:
parent
2324136552
commit
d2e9cdf1a0
|
@ -123,6 +123,8 @@ jobs:
|
|||
'Windows')
|
||||
ncpu=${NUMBER_OF_PROCESSORS}
|
||||
make_cmd="mingw32-make"
|
||||
echo "Number of cores: ${NUMBER_OF_PROCESSORS}"
|
||||
echo "Physical memory: $(wmic ComputerSystem get TotalPhysicalMemory)"
|
||||
;;
|
||||
esac
|
||||
[[ -z "$ncpu" || $ncpu -le 0 ]] && ncpu=1
|
||||
|
|
Loading…
Reference in New Issue