Used macos 13 #5
Workflow file for this run
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: iOS clean build | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ "main" ] | |
push: | |
branches: | |
- addCleaniOSBuild | |
tags: | |
- '*' | |
jobs: | |
iOS_clean_build: | |
runs-on: macos-13 | |
env: | |
device: iPhone 15 | |
defaults: | |
run: | |
working-directory: example/ios | |
strategy: | |
matrix: | |
flutter-version: [ "3.16.0" ,"3.19.0", "3.22.0", "3.24.0" ] | |
timeout-minutes: 30 | |
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 | |
- name: Pod install | |
run: pod install | |
- run: xcrun simctl list | |
- run: open -a Simulator && xcrun simctl boot 'iPhone 15' | |
- run: flutter devices | |
- run: | | |
flutter create --template=app --platforms=android,ios demo_project | |
cd demo_project | |
dart pub add 'adyen_checkout:{"path":"../"}' | |
flutter run -d "iPhone 15" |