You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.6 KiB
54 lines
1.6 KiB
workflows:
|
|
default-workflow:
|
|
name: Default Workflow
|
|
instance_type: mac_mini
|
|
max_build_duration: 30
|
|
environment:
|
|
flutter: stable
|
|
xcode: latest
|
|
cocoapods: default
|
|
scripts:
|
|
- name: Set up debug keystore
|
|
script: |
|
|
rm -f ~/.android/debug.keystore
|
|
keytool -genkeypair \
|
|
-alias androiddebugkey \
|
|
-keypass android \
|
|
-keystore ~/.android/debug.keystore \
|
|
-storepass android \
|
|
-dname 'CN=Android Debug,O=Android,C=US' \
|
|
-keyalg 'RSA' \
|
|
-keysize 2048 \
|
|
-validity 10000
|
|
- name: Set up local properties
|
|
script: |
|
|
echo "flutter.sdk=$HOME/programs/flutter" > "$FCI_BUILD_DIR/android/local.properties"
|
|
- name: Set up code signing settings on Xcode project
|
|
script: |
|
|
xcode-project use-profiles
|
|
- name: Get Flutter packages
|
|
script: |
|
|
flutter packages pub get
|
|
- name: Flutter build android
|
|
script: |
|
|
flutter build apk --release
|
|
- name: Install pods
|
|
script: |
|
|
find . -name "Podfile" -execdir pod install \;
|
|
- name: Flutter build ios
|
|
script: |
|
|
# flutter build ios --release --no-codesign
|
|
flutter build ipa --release
|
|
artifacts:
|
|
- build/**/outputs/apk/**/*.apk
|
|
- build/**/outputs/bundle/**/*.aab
|
|
- build/**/outputs/**/mapping.txt
|
|
- build/ios/ipa/*.ipa
|
|
- /tmp/xcodebuild_logs/*.log
|
|
- '*.snap'
|
|
- build/windows/**/*.msix
|
|
- flutter_drive.log
|
|
publishing:
|
|
email:
|
|
recipients:
|
|
- shinabebel@gmail.com
|
|
|