Merge pull request #16 from DiyorMarket/integration #10
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: .NET | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build-android: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install .NET workloads for Android | |
run: | | |
dotnet workload install android | |
- name: Restore dependencies | |
run: dotnet restore | |
working-directory: CheckDrive.Mobile | |
- name: Build Android | |
run: dotnet build --no-restore | |
working-directory: CheckDrive.Mobile | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
working-directory: CheckDrive.Mobile | |
build-ios: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install .NET workloads for iOS | |
run: | | |
dotnet workload install ios | |
- name: Restore dependencies | |
run: dotnet restore | |
working-directory: CheckDrive.Mobile | |
- name: Build iOS | |
run: dotnet build --no-restore | |
working-directory: CheckDrive.Mobile | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
working-directory: CheckDrive.Mobile |