Skip to content

Commit

Permalink
increase macos limit on build compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
aspeddro committed Dec 21, 2024
1 parent e8c84e3 commit 6c4b076
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Default is too slow, 256
- name: Increase file descriptors limit (macOS only)
if: runner.os == 'macOS'
run: sudo launchctl limit maxfiles 6000 10000

- name: Increase max user process (macOS only)
if: runner.os == 'macOS'
run: sudo launchctl limit maxproc 2000 2000

- name: Restore build cache
id: build-cache
uses: actions/cache@v4
Expand Down Expand Up @@ -141,6 +132,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# Default is too slow, 256
- name: Increase file descriptors limit (macOS only)
if: runner.os == 'macOS'
run: sudo launchctl limit maxfiles 6000 10000

- name: Increase max user process (macOS only)
if: runner.os == 'macOS'
run: sudo launchctl limit maxproc 2000 2000

- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 6c4b076

Please sign in to comment.