Skip to content

Merge pull request #16 from DiyorMarket/integration #10

Merge pull request #16 from DiyorMarket/integration

Merge pull request #16 from DiyorMarket/integration #10

Workflow file for this run

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