Skip to content

Commit

Permalink
CI: Enable parallel compilation in default build and gdbstub tests
Browse files Browse the repository at this point in the history
Parallel compilation with -j$(nproc) is introduced to the default build
and gdbstub tests. By utilizing all available CPU cores, this change
improves the speed of the build and testing process, reducing CI
execution time.
  • Loading branch information
visitorckw committed Sep 14, 2024
1 parent 08a3ac3 commit b4a2d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
sudo ./llvm.sh 17
shell: bash
- name: default build
run: make
run: make -j$(nproc)
- name: check + tests
run: |
make check -j$(nproc)
Expand All @@ -65,7 +65,7 @@ jobs:
make distclean && make ENABLE_SDL=0 check -j$(nproc)
- name: gdbstub test
run: |
make distclean ENABLE_GDBSTUB=1 gdbstub-test
make distclean && make ENABLE_GDBSTUB=1 gdbstub-test -j$(nproc)
- name: JIT test
run: |
make ENABLE_JIT=1 clean && make ENABLE_JIT=1 check -j$(nproc)
Expand Down

0 comments on commit b4a2d77

Please sign in to comment.