mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
CMake build with --parallel in GitHub Actions
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user