aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-14 22:52:30 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-08-22 04:58:21 -0300
commit500d8f2d6921f0d715d9e478e4fd10d6fe1f086f (patch)
treeda8bd129cb25f991aa5febf59cce4059deedb7aa /.github
parentci: split build and test into separate workflows (diff)
downloadfirejail-500d8f2d6921f0d715d9e478e4fd10d6fe1f086f.tar.gz
firejail-500d8f2d6921f0d715d9e478e4fd10d6fe1f086f.tar.zst
firejail-500d8f2d6921f0d715d9e478e4fd10d6fe1f086f.zip
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.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codeql-analysis.yml18
-rw-r--r--.github/workflows/test.yml2
2 files changed, 5 insertions, 15 deletions
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:
68 with: 68 with:
69 languages: cpp 69 languages: cpp
70 70
71 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). 71 - name: configure
72 # If this step fails, then you should remove it and run the build manually (see below) 72 run: ./configure
73 - name: Autobuild
74 uses: github/codeql-action/autobuild@5b6282e01c62d02e720b81eb8a51204f527c3624
75 73
76 # ℹī¸ Command-line programs to run using the OS shell. 74 - name: make
77 # 📚 https://git.io/JvXDl 75 run: make -j "$(nproc)"
78
79 # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines
80 # and modify them (or add more) to build your code if your project
81 # uses a compiled language
82
83 #- run: |
84 # make bootstrap
85 # make release
86 76
87 - name: Perform CodeQL Analysis 77 - name: Perform CodeQL Analysis
88 uses: github/codeql-action/analyze@5b6282e01c62d02e720b81eb8a51204f527c3624 78 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:
73 --enable-analyzer --enable-apparmor --enable-selinux 73 --enable-analyzer --enable-apparmor --enable-selinux
74 || (cat config.log; exit 1) 74 || (cat config.log; exit 1)
75 - name: make 75 - name: make
76 run: make 76 run: make -j "$(nproc)"
77 - name: make install 77 - name: make install
78 run: sudo make install 78 run: sudo make install
79 - name: print firejail version 79 - name: print firejail version