-
Notifications
You must be signed in to change notification settings - Fork 7
41 lines (34 loc) · 1.03 KB
/
iOS_clean_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: iOS clean build
on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
push:
branches:
- addCleaniOSBuild
tags:
- '*'
jobs:
iOS_clean_build:
runs-on: macos-14
strategy:
matrix:
iPhone: ["'iPhone 15'"]
flutter-version: [ "3.24.0" ]
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter-version }}
channel: 'stable'
cache: true
cache-key: ${{ matrix.flutter-version }}
- run: flutter pub get
- run: open -a Simulator && xcrun simctl boot ${{ matrix.iPhone }}
- run: |
flutter create --template=app --platforms=android,ios demo_project
cd demo_project
dart pub add 'adyen_checkout:{"path":"../"}'
flutter build ios --debug --simulator
xcrun simctl install ${{ matrix.iPhone }} build/ios/iphonesimulator/Runner.app
xcrun simctl launch ${{ matrix.iPhone }} com.example.demoProject