Skip to content
New issue

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

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

Already on GitHub? # to your account

Proguard upload test #2947

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions integration-test/cli.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ Describe 'MAUI' -ForEach @(
'maui-app.pdb'
)
$result.ScriptOutput | Should -AnyElementMatch 'Found 1 debug information file \(1 with embedded sources\)'
$result.ScriptOutput | Should -AnyElementMatch 'Uploaded a total of 1 new mapping files'
}

It "uploads symbols and sources for an iOS build" -Skip:(!$IsMacOS) {
Expand Down
13 changes: 13 additions & 0 deletions integration-test/common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,19 @@ BeforeAll {
throw "Failed to create the test app '$name' from template '$type'."
}

if ($type -eq 'maui')
{
@"
<Project>
<PropertyGroup>
<SentryUploadAndroidProguardMapping>true</SentryUploadAndroidProguardMapping>
<AndroidLinkTool Condition=`" '`$(AndroidLinkTool)' == '' `">r8</AndroidLinkTool>
<AndroidDexTool Condition=`" '`$(AndroidDexTool)' == '' `">d8</AndroidDexTool>
</PropertyGroup>
</Project>
"@ | Out-File $name/Directory.Build.props
}

if ($type -eq 'console')
{
AddPackageReference $name 'Sentry'
Expand Down
Loading