Skip to content

Commit cc37959

Browse files
anonrigtargos
authored andcommitted
build: increase parallel executions in github
PR-URL: #51554 Refs: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
1 parent fc0c130 commit cc37959

6 files changed

+12
-12
lines changed

.github/workflows/build-tarball.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ jobs:
9090
- name: Build
9191
run: |
9292
cd $TAR_DIR
93-
make build-ci -j2 V=1
93+
make build-ci -j4 V=1
9494
- name: Test
9595
run: |
9696
cd $TAR_DIR
97-
make run-ci -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"
97+
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"

.github/workflows/coverage-linux-without-intl.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ jobs:
5353
- name: Install gcovr
5454
run: pip install gcovr==4.2
5555
- name: Build
56-
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"
56+
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"
5757
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
5858
# The cause is most likely coverage's use of the inspector.
5959
- name: Test
60-
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
60+
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
6161
- name: Report JS
6262
run: npx c8 report --check-coverage
6363
env:

.github/workflows/coverage-linux.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ jobs:
5353
- name: Install gcovr
5454
run: pip install gcovr==4.2
5555
- name: Build
56-
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
56+
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
5757
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
5858
# The cause is most likely coverage's use of the inspector.
5959
- name: Test
60-
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
60+
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
6161
- name: Report JS
6262
run: npx c8 report --check-coverage
6363
env:

.github/workflows/test-asan.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757
- name: Environment Information
5858
run: npx envinfo
5959
- name: Build
60-
run: make build-ci -j2 V=1
60+
run: make build-ci -j4 V=1
6161
- name: Test
62-
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
62+
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"

.github/workflows/test-internet.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ jobs:
5050
- name: Environment Information
5151
run: npx envinfo
5252
- name: Build
53-
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
53+
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
5454
- name: Test Internet
55-
run: make test-internet -j2 V=1;
55+
run: make test-internet -j4 V=1;

.github/workflows/test-linux.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ jobs:
4444
- name: Environment Information
4545
run: npx envinfo
4646
- name: Build
47-
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
47+
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
4848
- name: Test
49-
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
49+
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"

0 commit comments

Comments
 (0)