Skip to content

Commit 4ba4533

Browse files
chore: make CIs build in parallel
1 parent e5dad3f commit 4ba4533

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
@@ -35,7 +35,7 @@ jobs:
3535
# compiling first gives clang-tidy access to all the header files and settings used to compile the programs.
3636
# This will check for macros, if any, on linux and not for Windows. But the use of portability checks should
3737
# be able to catch any errors for other platforms.
38-
run: cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
38+
run: cmake -B build --parallel 4 -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
3939
- name: Lint modified files
4040
shell: bash
4141
run: python3 scripts/file_linter.py
@@ -59,7 +59,7 @@ jobs:
5959
submodules: true
6060
- run: |
6161
cmake -B ./build -S .
62-
cmake --build build --config Release
62+
cmake --build build --parallel 4 --config Release
6363
- name: Label on PR fail
6464
uses: actions/github-script@v6
6565
if: ${{ failure() && matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)