iosWebViewFix/.cirrus.yml

52 lines
1.7 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
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
# - ./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"
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:56:59 +00:00
- echo "no" | avdmanager create avd --force -n Flutter-Android -k "system-images;android-30;google_apis;x86"
- echo "no"
2021-02-10 09:42:03 +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)