Skip to content

Commit

Permalink
Parallelize the CI builds (riscv#1563)
Browse files Browse the repository at this point in the history
GitHub Actions runners are multicores; take advantage of that.
  • Loading branch information
aswaterman authored Jul 25, 2024
1 parent 456e2f9 commit 77fd4fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/isa-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
if: steps.pull_container_image.outcome == 'success'
run: |
docker run --rm -v ${{ github.workspace }}:/build riscvintl/riscv-docs-base-container-image:latest \
/bin/sh -c 'make'
/bin/sh -c "make -j$(nproc)"
# Upload the riscv-privileged PDF file
- name: Upload riscv-privileged.pdf
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: steps.pull_container_image.outcome == 'success'
run: |
docker run --rm -v ${{ github.workspace }}:/build riscvintl/riscv-docs-base-container-image:latest \
/bin/sh -c 'make'
/bin/sh -c "make -j$(nproc)"
# Upload the riscv-privileged PDF file
- name: Upload riscv-privileged.pdf
Expand Down

0 comments on commit 77fd4fc

Please sign in to comment.