From 58b2bbbcf3eaa441e904bef7279f050d5a42544c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 6 Nov 2022 17:59:09 -0800 Subject: [PATCH] tools: dynamically determine parallelism on GitHub Actions macOS Refs: https://github.com/nodejs/node/pull/45340#discussion_r1014859250 --- .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..bef46a05c63319 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"