CI build: print number of VM CPUs
This commit is contained in:
parent
a985abcd21
commit
31ad56950f
|
@ -88,7 +88,8 @@ exprForCI() {
|
||||||
# Round down to nearest multiple of 50 MiB for improved test build caching
|
# Round down to nearest multiple of 50 MiB for improved test build caching
|
||||||
((memAvailableMiB = memAvailableKiB / (1024 * 50) * 50))
|
((memAvailableMiB = memAvailableKiB / (1024 * 50) * 50))
|
||||||
((memAvailableMiB < memoryMiB)) && memoryMiB=$memAvailableMiB
|
((memAvailableMiB < memoryMiB)) && memoryMiB=$memAvailableMiB
|
||||||
>&2 echo "Host memory: total $((memTotalKiB / 1024)) MiB, available $memAvailableMiB MiB, VM $memoryMiB MiB"
|
>&2 echo "VM stats: CPUs: $numCPUs, memory: $memoryMiB MiB"
|
||||||
|
>&2 echo "Host memory total: $((memTotalKiB / 1024)) MiB, available: $memAvailableMiB MiB"
|
||||||
vmTestNixExpr
|
vmTestNixExpr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user