mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-11-27 06:35:53 +03:00
d268f8c715
* fix: pages overflow when selecting homepage
* feat: integrate codemagic
* Revert "fix: pages overflow when selecting homepage"
This reverts commit 156882a9a7
.
* chore: try to fix build
* chore: remove flutter analyuze
* chore: launch ios simulator
* fix: flutter version
* fix: integration tests on mobile
* fix: mobile tests
* test: fix page style test
* chore: enable ios ci
* chore: update codemagic token
* chore: update app_id
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
workflows:
|
|
ios-workflow:
|
|
name: iOS Workflow
|
|
instance_type: mac_mini_m2
|
|
max_build_duration: 30
|
|
environment:
|
|
flutter: 3.22.3
|
|
xcode: latest
|
|
cocoapods: default
|
|
|
|
scripts:
|
|
- name: Build Flutter
|
|
script: |
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
source "$HOME/.cargo/env"
|
|
rustc --version
|
|
cargo --version
|
|
|
|
cd frontend
|
|
|
|
rustup target install aarch64-apple-ios-sim
|
|
cargo install --force cargo-make
|
|
cargo install --force duckscript_cli
|
|
cargo install --force cargo-lipo
|
|
|
|
cargo make appflowy-flutter-deps-tools
|
|
cargo make --profile development-ios-arm64-sim appflowy-core-dev-ios
|
|
cargo make --profile development-ios-arm64-sim code_generation
|
|
|
|
- name: iOS integration tests
|
|
script: |
|
|
cd frontend/appflowy_flutter
|
|
flutter emulators --launch apple_ios_simulator
|
|
flutter -d iPhone test integration_test/runner.dart
|
|
|
|
artifacts:
|
|
- build/ios/ipa/*.ipa
|
|
- /tmp/xcodebuild_logs/*.log
|
|
- flutter_drive.log
|
|
|
|
publishing:
|
|
email:
|
|
recipients:
|
|
- lucas.xu@appflowy.io
|
|
notify:
|
|
success: true
|
|
failure: true
|