Skip to content

Commit 6c4b076

Browse files
committed
increase macos limit on build compiler
1 parent e8c84e3 commit 6c4b076

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,6 @@ jobs:
4545
- name: Checkout
4646
uses: actions/checkout@v4
4747

48-
# Default is too slow, 256
49-
- name: Increase file descriptors limit (macOS only)
50-
if: runner.os == 'macOS'
51-
run: sudo launchctl limit maxfiles 6000 10000
52-
53-
- name: Increase max user process (macOS only)
54-
if: runner.os == 'macOS'
55-
run: sudo launchctl limit maxproc 2000 2000
56-
5748
- name: Restore build cache
5849
id: build-cache
5950
uses: actions/cache@v4
@@ -141,6 +132,15 @@ jobs:
141132
- name: Checkout
142133
uses: actions/checkout@v4
143134

135+
# Default is too slow, 256
136+
- name: Increase file descriptors limit (macOS only)
137+
if: runner.os == 'macOS'
138+
run: sudo launchctl limit maxfiles 6000 10000
139+
140+
- name: Increase max user process (macOS only)
141+
if: runner.os == 'macOS'
142+
run: sudo launchctl limit maxproc 2000 2000
143+
144144
- name: Use Node.js
145145
uses: actions/setup-node@v4
146146
with:

0 commit comments

Comments
 (0)