From 4ba4533c87ce8893756ca4b58292c5f16672b979 Mon Sep 17 00:00:00 2001 From: realstealthninja <68815218+realstealthninja@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:34:41 +0530 Subject: [PATCH] chore: make CIs build in parallel --- .github/workflows/awesome_workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/awesome_workflow.yml b/.github/workflows/awesome_workflow.yml index d57946e53c..512fe6a337 100644 --- a/.github/workflows/awesome_workflow.yml +++ b/.github/workflows/awesome_workflow.yml @@ -35,7 +35,7 @@ jobs: # compiling first gives clang-tidy access to all the header files and settings used to compile the programs. # This will check for macros, if any, on linux and not for Windows. But the use of portability checks should # be able to catch any errors for other platforms. - run: cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON + run: cmake -B build --parallel 4 -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON - name: Lint modified files shell: bash run: python3 scripts/file_linter.py @@ -59,7 +59,7 @@ jobs: submodules: true - run: | cmake -B ./build -S . - cmake --build build --config Release + cmake --build build --parallel 4 --config Release - name: Label on PR fail uses: actions/github-script@v6 if: ${{ failure() && matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request' }}