Created
November 20, 2019 15:09
-
-
Save tayormi/5cd9c1bbfdb2655cd4eafdf107b7913a to your computer and use it in GitHub Desktop.
CodeMagic configuration for ReciMix
This file contains hidden or 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
| workflows: | |
| default-workflow: | |
| name: Default Workflow | |
| environment: | |
| flutter: stable | |
| scripts: | |
| - | | |
| # set up debug key.properties | |
| 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 | |
| - | | |
| # set up local properties | |
| echo "flutter.sdk=$HOME/programs/flutter" > "$FCI_BUILD_DIR/android/local.properties" | |
| - flutter packages pub get | |
| - flutter config --enable-web | |
| - flutter build apk --debug | |
| - | | |
| # build web | |
| flutter build web --debug | |
| cd build/web | |
| 7z a -r ../web.zip ./* | |
| artifacts: | |
| - build/**/outputs/**/*.apk | |
| - build/**/outputs/**/*.aab | |
| - build/**/outputs/**/mapping.txt | |
| - build/web.zip | |
| - flutter_drive.log | |
| publishing: | |
| email: | |
| recipients: | |
| - [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment