CI: Update workflows for better use of make. Thanks to @urbasus for original suggestion. (#359)

This commit is contained in:
Liam Fraser
2023-03-22 14:36:59 +00:00
committed by GitHub
parent 5d6b9912c0
commit 8bfcdbdc63
2 changed files with 29 additions and 33 deletions

View File

@@ -57,4 +57,4 @@ jobs:
working-directory: ${{github.workspace}}/pico-examples/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cmake --build . --config $BUILD_TYPE --parallel ${{steps.core_count.outputs.output}}
run: cmake --build . --config $BUILD_TYPE --parallel $(nproc)