Skip to content

Commit 0919a0d

Browse files
committed
ci: reduce number of parallel build jobs on GitHub Actions to two
Linux and Windows machines of the GitHub-hosted runners only have two cores, so running four parallel jobs is not really providing any benefit to reduce the build time.
1 parent 9bdc18d commit 0919a0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/clang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
mkdir build
2727
cd build
2828
cmake ../
29-
make -j4
29+
make -j2
3030
- name: Run tests
3131
run: |
3232
cd "$GITHUB_WORKSPACE/build"

.github/workflows/gcc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
mkdir build
2727
cd build
2828
cmake ../
29-
make -j4
29+
make -j2
3030
- name: Run tests
3131
run: |
3232
cd "$GITHUB_WORKSPACE/build"

0 commit comments

Comments
 (0)