iosWebViewFix/.cirrus.yml

47 lines
1.5 KiB
YAML
Raw Normal View History

2021-02-10 02:20:09 +00:00
task:
# Xcode 12 task
osx_instance:
image: big-sur-xcode-12.4
upgrade_script:
- brew install node
- cd ./nodejs_server_test_auth_basic_and_ssl
- npm install
- cd ..
- sudo gem install cocoapods
#- flutter channel stable
#- 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"
# #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
# - ./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"
#CHANNEL: "stable"
script:
2021-02-10 08:54:54 +00:00
- mkdir -p .android && touch ~/.android/repositories.cfg
2021-02-10 09:21:16 +00:00
- sdkmanager --list
- sdkmanager "platform-tools" "system-images;android-30;google_apis;x86"
2021-02-10 09:08:03 +00:00
- (yes || true) | sdkmanager --licenses
2021-02-10 09:21:16 +00:00
- echo no | avdmanager create avd --force -n Flutter-Android -k "system-images;android-30;google_apis;x86"
2021-02-10 09:30:46 +00:00
- emulator -avd Flutter-Android -no-audio -no-window
2021-02-10 08:41:56 +00:00
- adb wait-for-device
- adb shell input keyevent 82
- flutter channel $CHANNEL
- ./test.sh $(ipconfig getifaddr en0)