Revert "chore: Don't msbuild reuse nodes for windows testing"

This reverts commit 223214a4ee.

(cherry picked from commit f88924d565)
This commit is contained in:
Youssef Victor 2024-06-10 19:10:59 +03:00 коммит произвёл Mergify
Родитель 0ea48b1754
Коммит 7bf08c75cf
1 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -35,12 +35,12 @@ jobs:
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.Bootstrap
dotnet msbuild /r /nr:false /p:Configuration=Release /p:DISABLE_CLIHOST_NET6=true
dotnet msbuild /r /p:Configuration=Release /p:DISABLE_CLIHOST_NET6=true
displayName: Build bootstrap
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.Bootstrap
dotnet msbuild /r /nr:false /p:Configuration=Release /p:DISABLE_CLIHOST_NET6=true
dotnet msbuild /r /p:Configuration=Release /p:DISABLE_CLIHOST_NET6=true
displayName: Build bootstrap
- pwsh: |
@ -48,14 +48,14 @@ jobs:
$customMonoTempPath="$env:temp\with a space\test"
mkdir $customMonoTempPath
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish /p:Configuration=Release /m:1 /nr:false "/p:WasmShellMonoTempFolder=$customMonoTempPath" /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet6-win-temp-with-space.binlog
dotnet publish /p:Configuration=Release /m:1 "/p:WasmShellMonoTempFolder=$customMonoTempPath" /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet6-win-temp-with-space.binlog
displayName: Build Raytracer Sample with Spaces
# Standalone Server publish
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Server.net7
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleServerNet7-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleServerNet7-win.binlog
displayName: Build Standalone Server publish (net5)
- pwsh: |
@ -76,13 +76,13 @@ jobs:
$customMonoTempPath="$env:temp\with a space\test2"
mkdir $customMonoTempPath
dotnet clean -c Release
dotnet publish -c Release /m:1 /nr:false "/p:WasmShellMonoTempFolder=$customMonoTempPath" /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/aottest-win-temp-with-space.binlog
dotnet publish -c Release /m:1 "/p:WasmShellMonoTempFolder=$customMonoTempPath" /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/aottest-win-temp-with-space.binlog
displayName: Build Raytracer Sample with Spaces
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.Sample.RayTracer
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet5-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet5-win.binlog
displayName: Build Raytracer Sample
- pwsh: |
@ -99,7 +99,7 @@ jobs:
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Interpreter
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellILLinkerEnabled=false /bl:$(build.artifactstagingdirectory)/SampleNet5-nolinker-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellILLinkerEnabled=false /bl:$(build.artifactstagingdirectory)/SampleNet5-nolinker-win.binlog
displayName: Build StaticLinking.Interpreter Sample (net5 without linker)
# Static linking test (net5) emsdk path with space test
@ -108,14 +108,14 @@ jobs:
mkdir "emsdk test"
$env:WASMSHELL_WSLEMSDK="$(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Interpreter/emsdk test"
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellILLinkerEnabled=false /bl:$(build.artifactstagingdirectory)/SampleNet5-emsdk-space.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellILLinkerEnabled=false /bl:$(build.artifactstagingdirectory)/SampleNet5-emsdk-space.binlog
displayName: Build StaticLinking.Interpreter Sample (emsdk path with space test)
# Static linking test with obsfucation enabled
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Aot.Net6
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellObfuscateAssemblies=true /bl:$(build.artifactstagingdirectory)/SampleNet6-nolinker-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellObfuscateAssemblies=true /bl:$(build.artifactstagingdirectory)/SampleNet6-nolinker-win.binlog
displayName: Build StaticLinking.StaticLinking.Aot.Net6 Sample (net6 with obfuscation)
- pwsh: |
@ -132,7 +132,7 @@ jobs:
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Aot.Net6
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellAssembliesFileNameObfuscationMode=NoDots /bl:$(build.artifactstagingdirectory)/SampleNet5-nolinker-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellAssembliesFileNameObfuscationMode=NoDots /bl:$(build.artifactstagingdirectory)/SampleNet5-nolinker-win.binlog
displayName: Build StaticLinking.StaticLinking.Aot.Net5 Sample (net5 with file name obfuscation)
- pwsh: |
@ -159,7 +159,7 @@ jobs:
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Aot.Net6
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellObfuscateAssemblies=true /p:WasmShellAssembliesFileNameObfuscationMode=NoDots /bl:$(build.artifactstagingdirectory)/SampleNet6-dual-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /p:WasmShellObfuscateAssemblies=true /p:WasmShellAssembliesFileNameObfuscationMode=NoDots /bl:$(build.artifactstagingdirectory)/SampleNet6-dual-win.binlog
displayName: Build StaticLinking.Aot.Net6 Sample (dual obfuscation)
- pwsh: |
@ -176,7 +176,7 @@ jobs:
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Aot.Net6
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet5-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet5-win.binlog
displayName: Build StaticLinking.Aot Sample (net5)
- pwsh: |
@ -193,7 +193,7 @@ jobs:
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.net7
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet7-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet7-win.binlog
displayName: Build StaticLinking.Aot Sample (net7)
- pwsh: |
@ -215,14 +215,14 @@ jobs:
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.net7
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet7-win-nuget-space.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleNet7-win-nuget-space.binlog
displayName: Build StaticLinking with nuget space
# Embedded mode test (net6)
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.StaticLinking.Embedded
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleEmbedded-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/SampleEmbedded-win.binlog
displayName: Build StaticLinking.Embedded Sample (net6)
- pwsh: |
@ -239,14 +239,14 @@ jobs:
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.Threads
dotnet clean -c Debug /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Debug /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/sample.threads-win-debug.binlog
dotnet publish -c Debug /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/sample.threads-win-debug.binlog
displayName: Build Threading Sample
# Thread test
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.Threads
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/sample.threads-win-release.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/sample.threads-win-release.binlog
displayName: Build Threading Sample
- pwsh: |
@ -263,7 +263,7 @@ jobs:
- pwsh: |
cd $(build.sourcesdirectory)/src/Uno.Wasm.Threads.Aot
dotnet clean -c Release /p:DISABLE_CLIHOST_NET6=true
dotnet publish -c Release /m:1 /nr:false /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/sample.threads-win.binlog
dotnet publish -c Release /m:1 /p:DISABLE_CLIHOST_NET6=true /p:WasmShellEmccLinkOptimization=false /bl:$(build.artifactstagingdirectory)/sample.threads-win.binlog
displayName: Build Threading AOT Sample
- pwsh: |