use all available processes for nmake builds (#3192)

This commit is contained in:
Oliver Stöneberg 2021-04-03 21:28:17 +02:00 committed by GitHub
parent 052de79b6d
commit d11f0f3f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View File

@ -49,7 +49,8 @@ jobs:
) )
env: env:
# see https://www.pcre.org/original/changelog.txt # see https://www.pcre.org/original/changelog.txt
PCRE_VERSION: 8.44 PCRE_VERSION: 8.44
CL: /MP
- name: Install Z3 library - name: Install Z3 library
run: | run: |
@ -80,6 +81,8 @@ jobs:
cd gui || exit /b !errorlevel! cd gui || exit /b !errorlevel!
qmake HAVE_QCHART=yes || exit /b !errorlevel! qmake HAVE_QCHART=yes || exit /b !errorlevel!
nmake release || exit /b !errorlevel! nmake release || exit /b !errorlevel!
env:
CL: /MP
- name: Deploy GUI - name: Deploy GUI
if: matrix.arch == 'x64' if: matrix.arch == 'x64'

View File

@ -70,6 +70,8 @@ jobs:
cd gui cd gui
qmake HAVE_QCHART=yes qmake HAVE_QCHART=yes
nmake release nmake release
env:
CL: /MP
- name: Deploy app - name: Deploy app
run: | run: |

View File

@ -47,6 +47,8 @@ build_script:
- msbuild "cppcheck.sln" /consoleloggerparameters:Verbosity=minimal /target:Build /property:Configuration="%configuration%";Platform=%platform% /p:PlatformToolset=%PlatformToolset% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" - msbuild "cppcheck.sln" /consoleloggerparameters:Verbosity=minimal /target:Build /property:Configuration="%configuration%";Platform=%platform% /p:PlatformToolset=%PlatformToolset% /maxcpucount /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
# the following builds are Debug ones so do not perform them in Release jobs # the following builds are Debug ones so do not perform them in Release jobs
- 'IF "%configuration%" == "Release" exit /b 0' - 'IF "%configuration%" == "Release" exit /b 0'
# use all available processes for nmake
- set CL=/MP
# cmake.. # cmake..
- mkdir build - mkdir build
- cd build - cd build