Skip to content

Commit 1a82254

Browse files
committed
Enable build diagnostics, fix binlog output
1 parent 9689653 commit 1a82254

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
env:
1919
DOTNET_VERSION: ${{ '8.0.x' }}
20-
ENABLE_DIAGNOSTICS: false
20+
ENABLE_DIAGNOSTICS: true
2121
#COREHOST_TRACE: 1
2222
COREHOST_TRACEFILE: corehosttrace.log
2323

@@ -285,11 +285,8 @@ jobs:
285285
working-directory: ./
286286
run: ./tooling/GenerateAllSolution.ps1${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -UseDiagnostics' || '' }} -MultiTargets wasm
287287

288-
# Issue with Comment Links currently, see: https://github.com/mrlacey/CommentLinks/issues/38
289-
# See launch.json configuration file for analogous command we're emulating here to build LINK: ../../.vscode/launch.json:CommunityToolkit.App.Wasm.csproj
290288
- name: dotnet build
291-
working-directory: ./${{ env.HEADS_DIRECTORY }}/AllComponents/Wasm/
292-
run: dotnet build /r /bl /p:UnoSourceGeneratorUseGenerationHost=true /p:UnoSourceGeneratorUseGenerationController=false
289+
run: ./tooling/Build-Toolkit-Components.ps1 -Release -MultiTargets wasm ${{ env.ENABLE_DIAGNOSTICS == 'true' && ' -BinlogOutput ./ -EnableBinLogs' || '' }}
293290

294291
# TODO: Do we want to run tests here? Can we do that on linux easily?
295292

0 commit comments

Comments
 (0)