CMake build with --parallel in GitHub Actions

This commit is contained in:
Oliver Hamlet
2025-05-11 17:32:13 +01:00
parent 5a0caf1824
commit e2ed8a01b1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ jobs:
-DCMAKE_PREFIX_PATH="${{ steps.boost-metadata.outputs.root }}\stage" \
-DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}" \
-B build
cmake --build build
cmake --build build --parallel
- name: Run tests
run: ctest --test-dir build --output-on-failure --parallel
@@ -196,7 +196,7 @@ jobs:
-DCMAKE_PREFIX_PATH="${{ steps.boost-metadata.outputs.root }}\stage" `
-DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}" `
-B build
cmake --build build --config ${{ env.MSVC_CONFIG }}
cmake --build build --parallel --config ${{ env.MSVC_CONFIG }}
- name: Run tests
run: ctest --test-dir build --build-config ${{ env.MSVC_CONFIG }} --output-on-failure --parallel
+1 -1
View File
@@ -91,7 +91,7 @@ jobs:
-DCMAKE_PREFIX_PATH="${{ steps.boost-metadata.outputs.root }}\stage" `
-DCPACK_PACKAGE_VERSION="${{ needs.create_release.outputs.git_tag }}" `
-B build
cmake --build build --config ${{ env.MSVC_CONFIG }}
cmake --build build --parallel --config ${{ env.MSVC_CONFIG }}
- uses: actions/setup-python@v5
with: