@@ -134,43 +134,7 @@ jobs:
134134
135135 # Generate full solution with all projects (sample gallery heads, components, tests)
136136 - name : Generate solution with ${{ matrix.multitarget }} gallery, components and tests
137- working-directory : ./components/DependencyPropertyGenerator
138- run : powershell -version 5.1 -command "../../tooling/ProjectHeads/GenerateSingleSampleHeads.ps1 -MultiTargets ${{ matrix.multitarget }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} -WinUIMajorVersion ${{ matrix.winui }}" -ErrorAction Stop
139-
140- # Build solution
141- - name : MSBuild (With diagnostics)
142- if : ${{ env.ENABLE_DIAGNOSTICS == 'true' }}
143- working-directory : ./components/DependencyPropertyGenerator
144- run : >
145- msbuild.exe /restore /nowarn:MSB4011
146- /p:Configuration=Release
147- /m
148- ${{ env.ENABLE_DIAGNOSTICS == 'true' && '/bl' || '' }}
149- /v:${{ env.MSBUILD_VERBOSITY }}
150-
151- - name : MSBuild
152- if : ${{ env.ENABLE_DIAGNOSTICS == 'false' }}
153- working-directory : ./components/DependencyPropertyGenerator
154- run : msbuild.exe /restore /nowarn:MSB4011 -p:Configuration=Release
155-
156- # Run tests
157- - name : Setup VSTest Path
158- uses : darenm/setup-vstest@3a16d909a1f3bbc65b52f8270d475d905e7d3e44
159-
160- - name : Install Testspace Module
161- uses : testspace-com/setup-testspace@v1
162- with :
163- domain : ${{ github.repository_owner }}
164-
165- - name : Run component tests against ${{ matrix.multitarget }}
166- if : ${{ matrix.multitarget == 'uwp' || matrix.multitarget == 'wasdk' }}
167- id : test-platform
168- run : vstest.console.exe ./tooling/**/CommunityToolkit.Tests.${{ matrix.multitarget }}.build.appxrecipe /Framework:FrameworkUap10 /logger:"trx;LogFileName=${{ matrix.multitarget }}.trx" /Blame
169-
170- - name : Create test reports
171- run : |
172- testspace '[${{ matrix.multitarget }}]./TestResults/*.trx'
173- if : ${{ (matrix.multitarget == 'uwp' || matrix.multitarget == 'wasdk') && (steps.test-generator.conclusion == 'success' || steps.test-platform.conclusion == 'success') }}
137+ run : powershell -version 5.1 -command "./tooling/Build-Toolkit-Components.ps1 -Components DependencyPropertyGenerator -Release -MultiTargets ${{ matrix.multitarget }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} -WinUIMajorVersion ${{ matrix.winui }}" -ErrorAction Stop
174138
175139 - name : Artifact - Diagnostic Logs
176140 uses : actions/upload-artifact@v4
0 commit comments