Skip to content

Commit

Permalink
CI: use more CPUs for building
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SpecLad committed Jun 4, 2024
1 parent f750ab4 commit 88560e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
ARCHOPTS: ${{ matrix.archopts }}
SUBTARGET: ${{ matrix.subtarget }}
TOOLS: 1
run: make -j2
run: make -j4
- name: Validate
run: ./${{ matrix.executable }} -validate
- name: Reconcile driver list
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
env:
USE_LIBSDL: 1
TOOLS: 1
run: make -j2
run: make -j3
- name: Validate
run: ./mame -validate
- uses: actions/upload-artifact@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
ARCHOPTS: "-fuse-ld=lld"
SUBTARGET: ${{ matrix.subtarget }}
TOOLS: 1
run: make -j2
run: make -j4
- name: Validate
run: ./${{ matrix.executable }}.exe -validate
- uses: actions/upload-artifact@master
Expand Down

0 comments on commit 88560e3

Please sign in to comment.