Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Build with PublishTrimmed #586

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ private void ApplyTheme()
root.RequestedTheme = settings.IsLightTheme ? ElementTheme.Light : ElementTheme.Dark;
};
}

private void Root_ActualThemeChanged(FrameworkElement sender, object args)
{
// Theme change refinements (e.g. content dialogs and title bar).
Expand Down
4 changes: 2 additions & 2 deletions build-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ steps:
Set-PSDebug -Trace 1
Write-Host "${{ parameters.path }}"

& $env:msbuildpath "${{ parameters.path }}" /r /p:Configuration=Release /p:WasmShellMonoRuntimeExecutionMode=Interpreter /p:PublishTrimmed=false /p:WasmShellILLinkerEnabled=false /p:RunAOTCompilation=false /p:MtouchUseLlvm=false /ds "/bl:$(build.artifactstagingdirectory)\$(Agent.JobName).binlog" ;
& $env:msbuildpath "${{ parameters.path }}" /r /p:Configuration=Release /p:WasmShellMonoRuntimeExecutionMode=Interpreter /p:PublishTrimmed=true /p:WasmShellILLinkerEnabled=false /p:RunAOTCompilation=false /p:MtouchUseLlvm=false /ds "/bl:$(build.artifactstagingdirectory)\$(Agent.JobName).binlog" ;

$folderPath = [System.IO.Path]::GetDirectoryName("${{ parameters.path }}");

Expand All @@ -49,4 +49,4 @@ steps:
inputs:
PathtoPublish: $(build.artifactstagingdirectory)
ArtifactName: samples
ArtifactType: Container
ArtifactType: Container