Skip to content

Commit 6fafec3

Browse files
Trottdanielleadams
authored andcommitted
tools: dynamically determine parallelism on GitHub Actions macOS
Refs: #45340 (comment) PR-URL: #45350 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 221f298 commit 6fafec3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-macos.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ jobs:
5858
- name: tools/doc/node_modules workaround
5959
run: make tools/doc/node_modules
6060
- name: Build
61-
run: make build-ci -j3 V=1 CONFIG_FLAGS="--error-on-warn"
61+
run: make build-ci -j$(getconf _NPROCESSORS_ONLN) V=1 CONFIG_FLAGS="--error-on-warn"
6262
- name: Test
63-
run: make run-ci -j3 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
63+
run: make run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"

0 commit comments

Comments
 (0)