iosWebViewFix/.cirrus.yml

62 lines
2.1 KiB
YAML
Raw Normal View History

2021-02-10 02:20:09 +00:00
task:
2021-02-10 11:49:34 +00:00
env:
ANDROID_EMULATOR_API_LEVEL: 30
ANDROID_ABI: "google_apis;x86"
2021-02-10 02:20:09 +00:00
# Xcode 12 task
osx_instance:
image: big-sur-xcode-12.4
2021-02-10 09:56:59 +00:00
install_node_script:
2021-02-10 02:20:09 +00:00
- brew install node
- cd ./nodejs_server_test_auth_basic_and_ssl
- npm install
2021-02-10 09:56:59 +00:00
upgrade_script:
2021-02-10 02:20:09 +00:00
- sudo gem install cocoapods
#- flutter channel stable
#- flutter upgrade
2021-02-10 09:35:29 +00:00
#- flutter channel beta
#- flutter upgrade
#- flutter channel dev
#- flutter upgrade
2021-02-10 09:08:03 +00:00
# - flutter channel master
# - flutter upgrade
# - git fetch origin master
2021-02-10 02:20:09 +00:00
matrix:
2021-02-10 09:08:03 +00:00
# - name: test_plugin_ios
# env:
# matrix:
# CHANNEL: "master"
# #CHANNEL: "dev"
2021-02-10 09:35:29 +00:00
# #CHANNEL: "beta"
2021-02-10 09:08:03 +00:00
# #CHANNEL: "stable"
# script:
# - xcrun simctl list
# - xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-12 com.apple.CoreSimulator.SimRuntime.iOS-14-4 | xargs xcrun simctl boot
# - flutter channel $CHANNEL
2021-02-10 11:49:34 +00:00
# - ./scripts/test.sh $(ipconfig getifaddr en0)
2021-02-10 08:41:09 +00:00
- name: test_plugin_android
2021-02-10 08:41:56 +00:00
env:
matrix:
CHANNEL: "master"
#CHANNEL: "dev"
2021-02-10 09:35:29 +00:00
#CHANNEL: "beta"
2021-02-10 08:41:56 +00:00
#CHANNEL: "stable"
2021-02-10 11:49:34 +00:00
install_images_script:
2021-02-10 12:19:50 +00:00
- mkdir -p .android && touch ~/.android/repositories.cfg
2021-02-10 11:49:34 +00:00
#- sdkmanager --list
- sdkmanager "system-images;android-$ANDROID_EMULATOR_API_LEVEL;$ANDROID_ABI"
2021-02-10 12:19:50 +00:00
- (yes || true) | sdkmanager --licenses
2021-02-10 11:49:34 +00:00
create_device_script:
2021-02-10 12:30:51 +00:00
echo no | avdmanager create avd --force -n test -k "system-images;android-$ANDROID_EMULATOR_API_LEVEL;$ANDROID_ABI"
2021-02-10 09:59:22 +00:00
start_emulator_background_script:
2021-02-10 12:36:40 +00:00
$ANDROID_SDK_ROOT/emulator/emulator -verbose -avd test -no-audio -no-window
2021-02-10 11:49:34 +00:00
pub_cache:
folder: ~/.pub-cache
2021-02-10 09:59:22 +00:00
wait_for_emulator_script:
2021-02-10 11:49:34 +00:00
#- adb wait-for-device
- ./scripts/android-wait-for-emulator.sh
#- adb shell input keyevent 82
flutter_change_channel_script: flutter channel $CHANNEL
doctor_script: flutter doctor -v
devices_script: flutter devices
script: ./scripts/test.sh $(ipconfig getifaddr en0)