Mobile Examples #210
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: Mobile Examples | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- "ios/**" | |
- "dotnet/**" | |
- ".github/workflows/*mobile*" | |
schedule: | |
- cron: '0 9 * * WED' # https://crontab.guru/#0_9_*_*_WED | |
jobs: | |
test_dotnet_mobile: | |
name: Build Dotnet Mobile Samples | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: dotnet/global.json | |
- name: All samples build | |
run: | | |
dotnet workload restore | |
dotnet workload install android | |
dotnet workload install ios | |
dotnet workload install maccatalyst | |
dotnet workload install maui-android | |
dotnet build Samples.sln | |
shell: pwsh | |
working-directory: dotnet | |
test_android_native_wallet_sample: | |
name: Build Android Native Wallet Sample | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Android build (wallet-sample) | |
run: | | |
gradle build | |
gradle test | |
shell: pwsh | |
working-directory: android/wallet-sample | |
test_android_native_verifier_sample: | |
name: Build Android Native Verifier Sample | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Android build (verifier-sample) | |
run: | | |
gradle build | |
gradle test | |
shell: pwsh | |
working-directory: android/verifier-sample |