Skip to content

Commit ef732da

Browse files
committed
🤖 Simplify dist-mac: remove hardcoded -j2, use standard Make deps
Instead of forcing parallelism in Makefile with -j2, declare deps normally and let caller control via 'make -j'. CI updated to use 'make -j dist-mac'.
1 parent 9578b3d commit ef732da

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
AC_APIKEY_ISSUER_ID: ${{ secrets.AC_APIKEY_ISSUER_ID }}
3030

3131
- name: Package for macOS
32-
run: make dist-mac
32+
run: make -j dist-mac
3333

3434
- name: Upload macOS DMG (x64)
3535
uses: actions/upload-artifact@v4

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ dist: build ## Build distributable packages
162162
@bun x electron-builder --publish never
163163

164164
# Parallel macOS builds - notarization happens concurrently
165-
dist-mac: build ## Build macOS distributables (parallel x64 + arm64)
166-
@$(MAKE) -j2 dist-mac-x64 dist-mac-arm64
165+
dist-mac: build dist-mac-x64 dist-mac-arm64 ## Build macOS distributables (x64 + arm64)
167166

168167
dist-mac-x64: ## Build macOS x64 distributable (use via dist-mac)
169168
@echo "Building macOS x64..."

0 commit comments

Comments
 (0)