Skip to content

Commit 99a37ea

Browse files
chore: use 4 as a limit for parallel builds
1 parent 23495b4 commit 99a37ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/awesome_workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# compiling first gives clang-tidy access to all the header files and settings used to compile the programs.
3737
# This will check for macros, if any, on linux and not for Windows. But the use of portability checks should
3838
# be able to catch any errors for other platforms.
39-
run: cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
39+
run: cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -j
4040
- name: Lint modified files
4141
shell: bash
4242
run: python3 scripts/file_linter.py
@@ -61,7 +61,7 @@ jobs:
6161
submodules: true
6262
- run: |
6363
cmake -B ./build -S .
64-
cmake --build build -j
64+
cmake --build build --parallel 4
6565
- name: Label on PR fail
6666
uses: actions/github-script@v6
6767
if: ${{ failure() && matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)