Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2022-11-10 20:04:00 +0300
committerGitHub <noreply@github.com>2022-11-10 20:04:00 +0300
commite9a9e1ea5b490f2b78156db2af152cc8ac3d4f3d (patch)
tree8b1f2e4a198485844c53bc5a66b00754c7e43822
parentfb5cf43c201183dc225d41a1697d43412c5cc114 (diff)
tools: dynamically determine parallelism on GitHub Actions macOS
Refs: https://github.com/nodejs/node/pull/45340#discussion_r1014859250 PR-URL: https://github.com/nodejs/node/pull/45350 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
-rw-r--r--.github/workflows/test-macos.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml
index 092de3885ab..c09004cbe42 100644
--- a/.github/workflows/test-macos.yml
+++ b/.github/workflows/test-macos.yml
@@ -58,6 +58,6 @@ jobs:
- name: tools/doc/node_modules workaround
run: make tools/doc/node_modules
- name: Build
- run: make build-ci -j3 V=1 CONFIG_FLAGS="--error-on-warn"
+ run: make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
- run: make run-ci -j3 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
+ run: make run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"