From 7c6281a7d24e6fc71e2ecd9c0a3826885a9488d6 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 10 Nov 2022 09:04:00 -0800 Subject: [PATCH] tools: dynamically determine parallelism on GitHub Actions macOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/pull/45340#discussion_r1014859250 PR-URL: https://github.com/nodejs/node/pull/45350 Reviewed-By: Luigi Pinca Reviewed-By: Michaƫl Zasso --- .github/workflows/test-macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 092de3885ab336..c09004cbe422c7 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"