Skip to content

Commit

Permalink
GHA Windows: enable multithreaded builds for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
dyfer committed Nov 20, 2023
1 parent 2db872a commit e26e2f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,7 @@ jobs:
- name: build
shell: bash
run: |
BUILD_PARALLELISM=
if [[ ${{ startsWith(matrix.cmake-generator, 'MinGW') }} == true ]]; then BUILD_PARALLELISM="-- -j2"; fi
cmake --build $BUILD_PATH --config Release --target install $BUILD_PARALLELISM
cmake --build $BUILD_PATH --config Release --target install --parallel 2
- name: create archive
if: matrix.artifact-suffix
shell: bash
Expand Down

0 comments on commit e26e2f6

Please sign in to comment.