ci: fix Node ARM release build (#971)

When we turned on fat LTO builds, we made the release build job **much**
more compute and memory intensive. The ARM runners have particularly low
memory per core, which makes them susceptible to OOM errors. To avoid
issues, I have enabled memory swap on ARM and bumped the side of the
runner.
This commit is contained in:
Will Jones
2024-02-14 13:02:09 -08:00
committed by GitHub
parent 51f92ecb3d
commit aec85f7875
3 changed files with 16 additions and 6 deletions

View File

@@ -13,7 +13,9 @@ docker build \
.
popd
# We turn on memory swap to avoid OOM killer
docker run \
-v $(pwd):/io -w /io \
--memory-swap=-1 \
lancedb-node-manylinux \
bash ci/manylinux_node/build.sh $ARCH