Skip to content

Fix CPU core count

Fix CPU core count #5

Workflow file for this run

on: push
jobs:
build-mac:
runs-on: macOS-latest
steps:
- run: printf '1\n%s\n%s' $(( $(sysctl -n hw.memsize) * 4 / (1073741824 * 11) )) $(sysctl -n hw.logicalcpu) | grep -v '^0$' | sort -n | head -n1