diff options
author | 2023-08-14 22:52:30 -0300 | |
---|---|---|
committer | 2023-08-22 04:58:21 -0300 | |
commit | 500d8f2d6921f0d715d9e478e4fd10d6fe1f086f (patch) | |
tree | da8bd129cb25f991aa5febf59cce4059deedb7aa /.github/workflows/codeql-analysis.yml | |
parent | ci: split build and test into separate workflows (diff) | |
download | firejail-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/workflows/codeql-analysis.yml')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 18 |
1 files changed, 4 insertions, 14 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 |