We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 158f7e8 commit 60f81a9Copy full SHA for 60f81a9
.github/workflows/build.yml
@@ -34,10 +34,16 @@ jobs:
34
ruff check .
35
36
- name: Build executables manually
37
+ shell: bash
38
run: |
39
echo "Building for ${{ runner.os }}..."
- THREADS=$(nproc)
40
-
+
41
+ if [[ "${{ runner.os }}" == "Linux" || "${{ runner.os }}" == "Windows" ]]; then
42
+ THREADS=$(nproc)
43
+ elif [[ "${{ runner.os }}" == "macOS" ]]; then
44
+ THREADS=$(sysctl -n hw.logicalcpu)
45
+ fi
46
47
if [[ "${{ runner.os }}" == "macOS" ]]; then
48
python3 -m nuitka main.py \
49
--standalone \
0 commit comments