diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-13 11:15:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-13 11:15:35 (GMT) |
commit | bd05a4316441db773b8be5be4be4ac718c742e82 (patch) | |
tree | d5f2609f37e267c1a3683ae9ea60d2e897da11e6 /.github/workflows/build_cmake.yml | |
parent | 69b1de0946be6310429e237f5e223a2c2bebba47 (diff) | |
download | Doxygen-bd05a4316441db773b8be5be4be4ac718c742e82.zip Doxygen-bd05a4316441db773b8be5be4be4ac718c742e82.tar.gz Doxygen-bd05a4316441db773b8be5be4be4ac718c742e82.tar.bz2 |
Update build_cmake.yml
Diffstat (limited to '.github/workflows/build_cmake.yml')
-rw-r--r-- | .github/workflows/build_cmake.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 62a876b..a7047b0 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -84,12 +84,12 @@ jobs: - name: Download MikTex packages (Windows) run: - miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential download + .\miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential download if: matrix.config.os == 'windows-latest' - name: Download MikTex packages (Windows) run: - miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential --shared install + .\miktexsetup.exe --local-package-repository=C:\miktex-repository --package-set=essential --shared install if: matrix.config.os == 'windows-latest' - name: Refresh Env (Windows) @@ -146,8 +146,10 @@ jobs: - name: Build shell: cmake -P {0} run: | + include(ProcessorCount) + ProcessorCount(N) execute_process( - COMMAND cmake --build build + COMMAND cmake --build build --parallel ${N} RESULT_VARIABLE result OUTPUT_VARIABLE output ERROR_VARIABLE output |