Skip to content

Commit a860012

Browse files
authored
ci(Windows): Build multiple projects in parallel (#215)
1 parent 26cadf6 commit a860012

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,11 @@ jobs:
337337
working-directory: example/windows
338338
- name: Build
339339
run: |
340-
MSBuild Example.sln -t:Rebuild -p:Configuration=${{ matrix.configuration }} -p:Platform=${{ matrix.platform }}
340+
MSBuild Example.sln -t:Rebuild -p:Configuration=${{ matrix.configuration }} -p:Platform=${{ matrix.platform }} -m
341341
working-directory: example/windows
342342
- name: Test
343343
run: |
344-
MSBuild ReactTestAppTests.vcxproj -t:Build -p:Configuration=${{ matrix.configuration }} -p:Platform=${{ matrix.platform }}
344+
MSBuild ReactTestAppTests.vcxproj -t:Build -p:Configuration=${{ matrix.configuration }} -p:Platform=${{ matrix.platform }} -m
345345
if ("${{ matrix.platform }}" -eq "x64") { VSTest.Console.exe ${{ matrix.platform }}\${{ matrix.configuration }}\ReactTestAppTests.dll }
346346
working-directory: example/windows/ReactTestAppTests
347347
windows-template:
@@ -388,8 +388,8 @@ jobs:
388388
working-directory: template-example
389389
- name: Build
390390
run: |
391-
if ("${{ matrix.template }}" -eq "all") { MSBuild windows/TemplateExample.sln -t:Rebuild -p:Platform=x64 }
392-
else { MSBuild TemplateExample.sln -t:Rebuild -p:Platform=x64 }
391+
if ("${{ matrix.template }}" -eq "all") { MSBuild windows/TemplateExample.sln -t:Rebuild -p:Platform=x64 -m }
392+
else { MSBuild TemplateExample.sln -t:Rebuild -p:Platform=x64 -m }
393393
working-directory: template-example
394394
release:
395395
needs:

0 commit comments

Comments
 (0)