add android #5
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: MacOS (dotnet build and test) | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [develop] | |
jobs: | |
os-tests: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
7.0.x | |
- name: Install Android | |
run: dotnet workload install maui-android | |
- name: Install Ios | |
run: dotnet workload install maui-ios | |
- name: Install maccatalyst | |
run: dotnet workload install maui-maccatalyst | |
- name: Restore dependencies | |
run: dotnet restore ./src/CSharp/Maui/EasyMicroservices.UI.MauiKits.sln | |
- name: Build | |
run: dotnet build ./src/CSharp/Maui/EasyMicroservices.UI.MauiKits.sln --no-restore | |
- name: Test | |
run: | | |
dotnet test ./src/CSharp/Maui/EasyMicroservices.UI.MauiKits.sln --no-build --verbosity normal -f net7.0 |