Skip to content

Commit b4a2d77

Browse files
committed
CI: Enable parallel compilation in default build and gdbstub tests
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.
1 parent 08a3ac3 commit b4a2d77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
sudo ./llvm.sh 17
5050
shell: bash
5151
- name: default build
52-
run: make
52+
run: make -j$(nproc)
5353
- name: check + tests
5454
run: |
5555
make check -j$(nproc)
@@ -65,7 +65,7 @@ jobs:
6565
make distclean && make ENABLE_SDL=0 check -j$(nproc)
6666
- name: gdbstub test
6767
run: |
68-
make distclean ENABLE_GDBSTUB=1 gdbstub-test
68+
make distclean && make ENABLE_GDBSTUB=1 gdbstub-test -j$(nproc)
6969
- name: JIT test
7070
run: |
7171
make ENABLE_JIT=1 clean && make ENABLE_JIT=1 check -j$(nproc)

0 commit comments

Comments
 (0)