Skip to content

Commit 88560e3

Browse files
committed
CI: use more CPUs for building
The standard GitHub runners have 3 to 4 CPUs, depending on the OS: <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>. Increase the number of Make jobs to utilize those CPUs better.
1 parent f750ab4 commit 88560e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
ARCHOPTS: ${{ matrix.archopts }}
5959
SUBTARGET: ${{ matrix.subtarget }}
6060
TOOLS: 1
61-
run: make -j2
61+
run: make -j4
6262
- name: Validate
6363
run: ./${{ matrix.executable }} -validate
6464
- name: Reconcile driver list

.github/workflows/ci-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
env:
3434
USE_LIBSDL: 1
3535
TOOLS: 1
36-
run: make -j2
36+
run: make -j3
3737
- name: Validate
3838
run: ./mame -validate
3939
- uses: actions/upload-artifact@master

.github/workflows/ci-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
ARCHOPTS: "-fuse-ld=lld"
5757
SUBTARGET: ${{ matrix.subtarget }}
5858
TOOLS: 1
59-
run: make -j2
59+
run: make -j4
6060
- name: Validate
6161
run: ./${{ matrix.executable }}.exe -validate
6262
- uses: actions/upload-artifact@master

0 commit comments

Comments
 (0)