Add explicit /m to msbuild.exe invocations

* Without this by default msbuild doesn't build in parallel.
This commit is contained in:
baldurk
2021-02-14 13:10:25 +00:00
parent fc2b2c11cc
commit 4b65d7f841
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ jobs:
- name: Set up Visual Studio tools
uses: microsoft/setup-msbuild@v1.0.2
- name: Building solution
run: msbuild.exe renderdoc.sln "/p:Configuration=${{ matrix.configuration }}" "/p:Platform=${{ matrix.platform }}" "/p:PlatformToolset=${{ matrix.toolset }}"
run: msbuild.exe renderdoc.sln "/m" "/p:Configuration=${{ matrix.configuration }}" "/p:Platform=${{ matrix.platform }}" "/p:PlatformToolset=${{ matrix.toolset }}"
shell: powershell
- if: matrix.configuration == 'Development'
name: Running core unit tests
+2 -2
View File
@@ -6,10 +6,10 @@ mkdir -p "${REPO_ROOT}/dist"
pushd "${REPO_ROOT}"
# Build 32-bit Release
MSYS2_ARG_CONV_EXCL="*" msbuild.exe /nologo /fl4 /flp4':Verbosity=minimal;Encoding=ASCII;logfile=dist/build32.log' renderdoc.sln /t:Rebuild /p:'Configuration=Release;Platform=x86'
MSYS2_ARG_CONV_EXCL="*" msbuild.exe /nologo /m /fl4 /flp4':Verbosity=minimal;Encoding=ASCII;logfile=dist/build32.log' renderdoc.sln /t:Rebuild /p:'Configuration=Release;Platform=x86'
# Build 64-bit Release
MSYS2_ARG_CONV_EXCL="*" msbuild.exe /nologo /fl4 /flp4':Verbosity=minimal;Encoding=ASCII;logfile=dist/build64.log' renderdoc.sln /t:Rebuild /p:'Configuration=Release;Platform=x64'
MSYS2_ARG_CONV_EXCL="*" msbuild.exe /nologo /m /fl4 /flp4':Verbosity=minimal;Encoding=ASCII;logfile=dist/build64.log' renderdoc.sln /t:Rebuild /p:'Configuration=Release;Platform=x64'
# Step into the docs folder and build
pushd docs