Skip to content

Commit da2b2c3

Browse files
committed
Temporarily disable wasm-linux check, only build DependencyPropertyGenerator component
1 parent 10499ac commit da2b2c3

File tree

1 file changed

+4
-52
lines changed

1 file changed

+4
-52
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
# Generate full solution with all projects (sample gallery heads, components, tests)
136136
- name: Generate solution with ${{ matrix.multitarget }} gallery, components and tests
137137
working-directory: ./
138-
run: powershell -version 5.1 -command "./tooling/GenerateAllSolution.ps1 -MultiTargets ${{ matrix.multitarget }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} -WinUIMajorVersion ${{ matrix.winui }}" -ErrorAction Stop
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
139139

140140
# Build solution
141141
- name: MSBuild (With diagnostics)
@@ -213,7 +213,7 @@ jobs:
213213
strategy:
214214
fail-fast: false # prevent one matrix pipeline from being cancelled if one fails, we want them all to run to completion.
215215
matrix:
216-
winui: [2, 3]
216+
winui: [2]
217217

218218
env:
219219
VERSION_PROPERTY: ${{ github.ref == 'refs/heads/main' && format('build.{0}', github.run_number) || format('pull-{0}.{1}', github.event.number, github.run_number) }}
@@ -269,7 +269,7 @@ jobs:
269269
270270
# Build and pack component nupkg
271271
- name: Build and pack component packages
272-
run: ./tooling/Build-Toolkit-Components.ps1 -MultiTargets all -ExcludeMultiTargets ${{ env.EXCLUDED_MULTITARGETS }} -WinUIMajorVersion ${{ matrix.winui }} -DateForVersion ${{ env.VERSION_DATE }} ${{ env.VERSION_PROPERTY != '' && format('-PreviewVersion "{0}"', env.VERSION_PROPERTY) || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-EnableBinlogs' || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-Verbose' || '' }} -BinlogOutput ./ -NupkgOutput ./ -Release
272+
run: ./tooling/Build-Toolkit-Components.ps1 -Components DependencyPropertyGenerator -MultiTargets uwp -ExcludeMultiTargets ${{ env.EXCLUDED_MULTITARGETS }} -WinUIMajorVersion ${{ matrix.winui }} -DateForVersion ${{ env.VERSION_DATE }} ${{ env.VERSION_PROPERTY != '' && format('-PreviewVersion "{0}"', env.VERSION_PROPERTY) || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-EnableBinlogs' || '' }} ${{ env.ENABLE_DIAGNOSTICS == 'true' && '-Verbose' || '' }} -BinlogOutput ./ -NupkgOutput ./ -Release
273273

274274
- name: Validate package names
275275
if: ${{ env.VERSION_PROPERTY != '' }}
@@ -306,52 +306,4 @@ jobs:
306306
if: ${{ (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
307307
with:
308308
name: build-logs-winui${{ matrix.winui }}
309-
path: ./*.*log
310-
311-
wasm-linux:
312-
runs-on: ubuntu-latest
313-
env:
314-
HEADS_DIRECTORY: tooling/ProjectHeads
315-
316-
steps:
317-
- name: Install .NET SDK v${{ env.DOTNET_VERSION }}
318-
uses: actions/setup-dotnet@v4
319-
with:
320-
dotnet-version: ${{ env.DOTNET_VERSION }}
321-
322-
- name: .NET Info (if diagnostics)
323-
if: ${{ env.ENABLE_DIAGNOSTICS == 'true' }}
324-
run: dotnet --info
325-
326-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
327-
- name: Checkout Repository
328-
uses: actions/checkout@v4
329-
with:
330-
submodules: recursive
331-
332-
# Restore Tools from Manifest list in the Repository
333-
- name: Restore dotnet tools
334-
run: dotnet tool restore
335-
336-
- name: Generate solution
337-
shell: pwsh
338-
working-directory: ./
339-
run: ./tooling/GenerateAllSolution.ps1${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }}
340-
341-
- name: Install ninja for WASM native dependencies
342-
run: sudo apt-get install ninja-build
343-
344-
# Issue with Comment Links currently, see: https://github.com/mrlacey/CommentLinks/issues/38
345-
# See launch.json configuration file for analogous command we're emulating here to build LINK: ../../.vscode/launch.json:CommunityToolkit.App.Wasm.csproj
346-
- name: dotnet build
347-
working-directory: ./${{ env.HEADS_DIRECTORY }}/AllComponents/Wasm/
348-
run: dotnet build /r /bl /p:UnoSourceGeneratorUseGenerationHost=true /p:UnoSourceGeneratorUseGenerationController=false
349-
350-
# TODO: Do we want to run tests here? Can we do that on linux easily?
351-
352-
- name: Artifact - Diagnostic Logs
353-
uses: actions/upload-artifact@v4
354-
if: ${{ (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }}
355-
with:
356-
name: linux-logs
357-
path: ./**/*.*log
309+
path: ./*.*log

0 commit comments

Comments
 (0)