updated .cirrus.yml
This commit is contained in:
parent
4469ec7a62
commit
8d1219f573
20
.cirrus.yml
20
.cirrus.yml
@ -18,16 +18,28 @@ task:
|
|||||||
submodules_script:
|
submodules_script:
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update
|
- git submodule update
|
||||||
create_simulator_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
|
|
||||||
matrix:
|
matrix:
|
||||||
- name: build_plugin
|
- name: test_plugin_ios
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
CHANNEL: "master"
|
CHANNEL: "master"
|
||||||
#CHANNEL: "dev"
|
#CHANNEL: "dev"
|
||||||
#CHANNEL: "stable"
|
#CHANNEL: "stable"
|
||||||
script:
|
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)
|
||||||
|
- name: test_plugin_android
|
||||||
|
env:
|
||||||
|
matrix:
|
||||||
|
CHANNEL: "master"
|
||||||
|
#CHANNEL: "dev"
|
||||||
|
#CHANNEL: "stable"
|
||||||
|
script:
|
||||||
|
- echo no | avdmanager create avd --force -n Flutter-Android -k "system-images;android-30;default;armeabi-v7a"
|
||||||
|
- $ANDROID_HOME/emulator/emulator -avd Flutter-Android -no-audio -no-window
|
||||||
|
- adb wait-for-device
|
||||||
|
- adb shell input keyevent 82
|
||||||
- flutter channel $CHANNEL
|
- flutter channel $CHANNEL
|
||||||
- ./test.sh $(ipconfig getifaddr en0)
|
- ./test.sh $(ipconfig getifaddr en0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user