Skip to content

Commit 5afac78

Browse files
committed
Use all threads in CI
1 parent cc923bb commit 5afac78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
2828

2929
- name: Build
30-
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
30+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all)
3131

.github/workflows/utests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DLIBSCRATCHCPP_BUILD_UNIT_TESTS=ON
2828

2929
- name: Build
30-
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
30+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j$(nproc --all)
3131

3232
- name: Run unit tests
3333
run: ctest --test-dir build -V

0 commit comments

Comments
 (0)