mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
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:
parent
82d28795a7
commit
500d8f2d69
2 changed files with 5 additions and 15 deletions
18
.github/workflows/codeql-analysis.yml
vendored
18
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue