Skip to content
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
5 changes: 0 additions & 5 deletions .github/actions/manual-ios-signing/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,3 @@ runs:

mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles"
cp "$provPath" "$HOME/Library/MobileDevice/Provisioning Profiles/$uuid.mobileprovision"

- name: Output summary
shell: bash
run: |
echo "Manual iOS signing configured. UUID=$PROVISIONING_UUID" >> "$GITHUB_STEP_SUMMARY"
34 changes: 29 additions & 5 deletions .github/workflows/daily-template-size-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ jobs:
$platform = "${{ matrix.platform }}"
$framework = "${{ matrix.framework }}"
$rid = "${{ matrix.rid }}"
$dotnetVersion = "${{ matrix.dotnet }}"

# Disable XAML/Resource Trimming for net10 due to https://github.com/unoplatform/uno/issues/21731
$enableXamlTrimming = $dotnetVersion -ne "10.0"

# Start timing
$startTime = Get-Date
Expand All @@ -305,6 +309,7 @@ jobs:
}

Write-Host "Found project: $($projectFile.FullName)"
Write-Host "XAML/Resource Trimming enabled: $enableXamlTrimming"

switch ($platform) {
"android" {
Expand All @@ -314,7 +319,8 @@ jobs:
-c Release `
-p:AndroidPackageFormat=aab `
-p:AndroidKeyStore=false `
-o publish
-o publish `
/bl:build.binlog
}
"ios" {
Write-Host "Building iOS IPA (signed device build)..."
Expand All @@ -326,14 +332,18 @@ jobs:
-p:CodesignKey="$env:CODESIGN_KEY" `
-p:CodesignProvision="$env:PROVISIONING_UUID" `
-p:ApplicationId=uno.platform.performance `
-o publish
-o publish `
/bl:build.binlog
}
"wasm" {
Write-Host "Building WebAssembly..."
dotnet publish $projectFile.FullName `
-f $framework `
-c Release `
-o publish
-p:UnoXamlResourcesTrimming=$enableXamlTrimming `
-p:UnoEnableXamlTrimming=$enableXamlTrimming `
-o publish `
/bl:build.binlog
}
{ $_ -in "desktop-windows", "desktop-linux", "desktop-macos", "desktop-windows-aot", "desktop-linux-aot", "desktop-macos-aot" } {
$osName = $platform -replace "desktop-", "" -replace "-aot", ""
Expand All @@ -347,15 +357,21 @@ jobs:
-r $rid `
--self-contained true `
-p:PublishAot=true `
-o publish
-p:PublishTrimmed=true `
-o publish `
/bl:build.binlog
} else {
Write-Host "Building $osName Desktop (self-contained)..."
dotnet publish $projectFile.FullName `
-f $framework `
-c Release `
-r $rid `
--self-contained true `
-o publish
-p:PublishTrimmed=true `
-p:UnoXamlResourcesTrimming=$enableXamlTrimming `
-p:UnoEnableXamlTrimming=$enableXamlTrimming `
-o publish `
/bl:build.binlog
}
}
}
Expand All @@ -366,6 +382,14 @@ jobs:
Write-Host "Build completed in $buildTime seconds"
echo "BUILD_TIME=$buildTime" >> $env:GITHUB_ENV

- name: Upload Build Binlog
if: always()
uses: actions/upload-artifact@v4
with:
name: binlog-${{ matrix.dotnet }}-${{ matrix.template }}-${{ matrix.platform }}
path: build.binlog
retention-days: 14

- name: Measure Package Size
shell: pwsh
run: |
Expand Down
Loading