Skip to content

Commit

Permalink
cirrusCI: run melos bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Nov 13, 2023
1 parent 2d78fb3 commit cde440b
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,11 @@ test_linux_task:
echo "y" | fvm global $FLUTTER_VERSION
fvm doctor
flutter --version
flutter precache
generate_gradlew_script: |
cd packages/patrol/example
flutter build apk --target lib/main.dart --debug --flavor=does-not-exist &
start=$SECONDS
until [ -e "android/gradlew" ] || [ $(($SECONDS - start)) -ge 120 ]; do sleep 2; done
if [ ! -e "android/gradlew" ]; then
echo "android/gradlew was not generated within the 2 minutes timeout"
exit 1
fi
kill $!
flutter precache --android
flutter build apk --config-only
melos_bootstrap_script: |
dart pub global activate melos
melos bootstrap
setup_patrol_cli_script:
- dart pub global activate --source path packages/patrol_cli && patrol
setup_emulator_script: |
Expand Down Expand Up @@ -82,7 +76,10 @@ test_macos_task:
echo "y" | fvm global $FLUTTER_VERSION
fvm doctor
flutter --version
flutter precache
flutter precache --ios
melos_bootstrap_script: |
dart pub global activate melos
melos bootstrap
setup_patrol_cli_script:
- dart pub global activate --source path packages/patrol_cli && patrol
setup_simulator_script: |
Expand Down

0 comments on commit cde440b

Please sign in to comment.