worflow: nproc doesn't exist on mac

This commit is contained in:
2024-10-19 13:10:17 -04:00
parent 06f82b7328
commit 6c20c3ed39
2 changed files with 20 additions and 9 deletions

View File

@@ -34,13 +34,6 @@ jobs:
brew install bash
echo "Bash version: $(bash --version)"
if command -v nproc &> /dev/null; then
echo "nproc is installed. Number of processors: $(nproc)"
else
echo "Error: nproc installation failed"
exit 1
fi
- name: Run build script
run: |
if [ -f "./scripts/build_sokol_demo.sh" ]; then