From 500d8f2d6921f0d715d9e478e4fd10d6fe1f086f Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 14 Aug 2023 22:52:30 -0300 Subject: 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. --- .github/workflows/codeql-analysis.yml | 18 ++++-------------- .github/workflows/test.yml | 2 +- 2 files changed, 5 insertions(+), 15 deletions(-) (limited to '.github') diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c16fd732c..b4a5b55dd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 83c9a578a..e716c32cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 -- cgit v1.2.3-54-g00ecf