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: with:
languages: cpp languages: cpp
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - name: configure
# If this step fails, then you should remove it and run the build manually (see below) run: ./configure
- name: Autobuild
uses: github/codeql-action/autobuild@5b6282e01c62d02e720b81eb8a51204f527c3624
# Command-line programs to run using the OS shell. - name: make
# 📚 https://git.io/JvXDl run: make -j "$(nproc)"
# ✏️ 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: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@5b6282e01c62d02e720b81eb8a51204f527c3624 uses: github/codeql-action/analyze@5b6282e01c62d02e720b81eb8a51204f527c3624

View file

@ -73,7 +73,7 @@ jobs:
--enable-analyzer --enable-apparmor --enable-selinux --enable-analyzer --enable-apparmor --enable-selinux
|| (cat config.log; exit 1) || (cat config.log; exit 1)
- name: make - name: make
run: make run: make -j "$(nproc)"
- name: make install - name: make install
run: sudo make install run: sudo make install
- name: print firejail version - name: print firejail version