Skip to content

Commit

Permalink
WIP: ci: run more programs in parallel mode
Browse files Browse the repository at this point in the history
This should speed up the execution of each job in question.
  • Loading branch information
kmk3 committed Jan 23, 2025
1 parent 233b3b5 commit 1481526
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
--enable-apparmor --enable-selinux
|| (cat config.log; exit 1)
- name: make
run: make
run: make -j "$(nproc)"
- name: make install
run: sudo make install
- name: make installcheck
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
--enable-apparmor --enable-selinux
|| (cat config.log; exit 1)
- name: make
run: make
run: make -j "$(nproc)"
- name: make install
run: sudo make install
- name: make installcheck
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
--enable-apparmor --enable-selinux
|| (cat config.log; exit 1)
- name: make
run: make
run: make -j "$(nproc)"
- name: make install
run: sudo make install
- name: make installcheck
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
--enable-apparmor --enable-selinux
|| (cat config.log; exit 1)
- name: scan-build
run: make scan-build
run: make -j "$(nproc)" scan-build

cppcheck:
runs-on: ubuntu-22.04
Expand All @@ -96,7 +96,7 @@ jobs:
run: sudo apt-get install -qy cppcheck
- name: configure
run: >
./configure CPPCHECK='cppcheck -q'
./configure CPPCHECK="cppcheck -q -j'$(nproc)'"
|| (cat config.log; exit 1)
- run: cppcheck --version
- name: cppcheck
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
run: sudo apt-get install -qy cppcheck
- name: configure
run: >
./configure CPPCHECK='cppcheck -q'
./configure CPPCHECK="cppcheck -q -j'$(nproc)'"
|| (cat config.log; exit 1)
- run: cppcheck --version
- name: cppcheck-old
Expand Down

0 comments on commit 1481526

Please sign in to comment.