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

View File

@ -70,6 +70,8 @@ jobs:
cd gui
qmake HAVE_QCHART=yes
nmake release
env:
CL: /MP
- name: Deploy app
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"
# the following builds are Debug ones so do not perform them in Release jobs
- 'IF "%configuration%" == "Release" exit /b 0'
# use all available processes for nmake
- set CL=/MP
# cmake..
- mkdir build
- cd build