Skip to content

Merge pull request #605 from naivetoby/update-ios-privacy-info #233

Merge pull request #605 from naivetoby/update-ios-privacy-info

Merge pull request #605 from naivetoby/update-ios-privacy-info #233

Workflow file for this run

name: Build test
on:
push:
branches:
- master
pull_request:
jobs:
test_iOS:
name: Test iOS on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: flutter pub get
- run: cd example; flutter build ios --no-codesign
test_iOS_No_Pay:
name: Test iOS no_pay on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: flutter pub get
- run: |
cd example
sed -i.bak0 's/# no_pay: true/ no_pay: true/' pubspec.yaml
flutter build ios --no-codesign
test_android:
name: Test android on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: flutter pub get
- run: cd example; flutter build apk --debug