Skip to content

Commit 45683dc

Browse files
committed
Adjust CI to only build DependencyPropertyGenerator
1 parent da2b2c3 commit 45683dc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,23 +134,24 @@ 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: ./
138-
run: powershell -version 5.1 -command "./tooling/GenerateAllSolution.ps1 -Components DependencyPropertyGenerator -MultiTargets ${{ matrix.multitarget }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} -WinUIMajorVersion ${{ matrix.winui }}" -ErrorAction Stop
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
139139

140140
# Build solution
141141
- name: MSBuild (With diagnostics)
142142
if: ${{ env.ENABLE_DIAGNOSTICS == 'true' }}
143+
working-directory: ./components/DependencyPropertyGenerator
143144
run: >
144145
msbuild.exe /restore /nowarn:MSB4011
145146
/p:Configuration=Release
146147
/m
147148
${{ env.ENABLE_DIAGNOSTICS == 'true' && '/bl' || '' }}
148149
/v:${{ env.MSBUILD_VERBOSITY }}
149-
CommunityToolkit.AllComponents.sln
150150
151151
- name: MSBuild
152152
if: ${{ env.ENABLE_DIAGNOSTICS == 'false' }}
153-
run: msbuild.exe CommunityToolkit.AllComponents.sln /restore /nowarn:MSB4011 -p:Configuration=Release
153+
working-directory: ./components/DependencyPropertyGenerator
154+
run: msbuild.exe /restore /nowarn:MSB4011 -p:Configuration=Release
154155

155156
# Run tests
156157
- name: Setup VSTest Path

0 commit comments

Comments
 (0)