Skip to content

Commit

Permalink
chore: make CIs build in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
realstealthninja authored Sep 13, 2024
1 parent e5dad3f commit 4ba4533
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/awesome_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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' }}
Expand Down

0 comments on commit 4ba4533

Please sign in to comment.