Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ jobs:
if: runner.os == 'Windows'
with:
packages: gcc-core gcc-g++
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores
- name: Build
run: make -j$(nproc)
run: make -j${{ steps.cpu-cores.outputs.count }}
shell: bash
env:
CC: gcc
Expand All @@ -51,10 +54,13 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores
- name: Build
run: |
cmake -B build
cmake --build build -j$(nproc)
cmake --build build -j${{ steps.cpu-cores.outputs.count }}

# A dummy job that you can mark as a required check instead of each individual test
test-suite:
Expand Down