ci: run make in parallel where applicable

Do so when the output of the given job is not important.

For example, when the output of another job can be used for debugging
build-related issues.
This commit is contained in:
Kelvin M. Klann 2023-08-14 22:52:30 -03:00
parent 82d28795a7
commit 500d8f2d69
2 changed files with 5 additions and 15 deletions

View file

@ -68,21 +68,11 @@ jobs:
with:
languages: cpp
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@5b6282e01c62d02e720b81eb8a51204f527c3624
- name: configure
run: ./configure
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: make
run: make -j "$(nproc)"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5b6282e01c62d02e720b81eb8a51204f527c3624

View file

@ -73,7 +73,7 @@ jobs:
--enable-analyzer --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: print firejail version