Skip to content

Commit

Permalink
ci: run make in parallel where applicable
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kmk3 committed Aug 22, 2023
1 parent 82d2879 commit 500d8f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 500d8f2

Please sign in to comment.