Bump Microsoft.Build.NoTargets from 3.7.0 to 3.7.56 #185
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: macos-13 | |
env: | |
Configuration: Release | |
APK_PERCENTAGE_REGRESSION: 3 | |
CONTENT_PERCENTAGE_REGRESSION: 5 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: select Xcode version | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: install .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: install workloads | |
run: dotnet workload install maui-android maui-ios --verbosity diag | |
- name: build | |
run: dotnet build -bl:bin/build.binlog | |
- name: run apkdiff | |
run: | | |
dotnet tool install --global apkdiff | |
apkdiff -s --save-description-2=bin/com.companyname.spice.scenarios-Signed.apkdesc --descrease-is-regression --test-apk-percentage-regression=$APK_PERCENTAGE_REGRESSION --test-content-percentage-regression=$CONTENT_PERCENTAGE_REGRESSION sizes/com.companyname.spice.scenarios-Signed.apkdesc samples/Spice.Scenarios/bin/Release/net8.0-android/android-arm64/com.companyname.spice.scenarios-Signed.apk | |
apkdiff -s --save-description-2=bin/com.companyname.spice.blazor-Signed.apkdesc --descrease-is-regression --test-apk-percentage-regression=$APK_PERCENTAGE_REGRESSION --test-content-percentage-regression=$CONTENT_PERCENTAGE_REGRESSION sizes/com.companyname.spice.blazor-Signed.apkdesc samples/Spice.BlazorSample/bin/Release/net8.0-android/android-arm64/com.companyname.spice.blazor-Signed.apk | |
- name: tests | |
run: dotnet test tests/Spice.Tests/Spice.Tests.csproj | |
- name: pack | |
run: dotnet pack -bl:bin/pack.binlog | |
- name: artifacts | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: nupkgs | |
path: bin |