Skip to content

Commit 0f12468

Browse files
committed
Increase mem size for node.js
1 parent 86424a2 commit 0f12468

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
platform:
4343
- runner: ubuntu-latest
4444
target: x86_64-unknown-linux-gnu
45-
- runner: macOS-latest
46-
target: x86_64-apple-darwin
45+
# - runner: macOS-latest
46+
# target: x86_64-apple-darwin
4747
- runner: macOS-latest
4848
target: aarch64-apple-darwin
4949
- runner: windows-latest
@@ -115,6 +115,8 @@ jobs:
115115
116116
- name: Build wheels
117117
uses: PyO3/maturin-action@v1
118+
env:
119+
NODE_OPTIONS: "--max-old-space-size=8192"
118120
with:
119121
target: ${{ matrix.platform.target }}
120122
args: --release --out dist --find-interpreter --features=${{ matrix.features.value }}
@@ -180,6 +182,8 @@ jobs:
180182
181183
- name: Build wheels
182184
uses: PyO3/maturin-action@v1
185+
env:
186+
NODE_OPTIONS: "--max-old-space-size=8192"
183187
with:
184188
target: ${{ matrix.platform.target }}
185189
args: --release --out dist --find-interpreter --features=${{ matrix.features.value }}
@@ -252,6 +256,8 @@ jobs:
252256
253257
- name: Build wheels
254258
uses: PyO3/maturin-action@v1
259+
env:
260+
NODE_OPTIONS: "--max-old-space-size=8192"
255261
with:
256262
target: ${{ matrix.platform.target }}
257263
args: --release --out dist --find-interpreter --features=${{ matrix.features.value }}
@@ -318,6 +324,8 @@ jobs:
318324
319325
- name: Build wheels
320326
uses: PyO3/maturin-action@v1
327+
env:
328+
NODE_OPTIONS: "--max-old-space-size=8192"
321329
with:
322330
target: ${{ matrix.platform.target }}
323331
args: --release --out dist --find-interpreter --features=${{ matrix.features.value }}

0 commit comments

Comments
 (0)