11skip_branch_with_pr : true
22
33environment :
4+ FLUTTER_VERSION : 3.24.5
45 GITHUB_TOKEN :
56 secure : 9SKIwc3VSfYJ5IChvNR74mEv2nb0ZFftUzn3sGRdXipXEfKSxY50DoodChHvlqZduQNhjg0oyLWAAa3n+iwWvVM2yI7Cgb14lFNClijz/kHI/PibnjDMNvLKaAygcfAc
67
5152
5253 install :
5354 - HOMEBREW_NO_AUTO_UPDATE=1 brew install cocoapods
54- - flutter upgrade
55+ - source ci/install_flutter.sh
5556 - flutter config --enable-macos-desktop
56- - flutter doctor
57+ - flutter doctor -v
5758
5859 build : off
5960
7273
7374 install :
7475 - HOMEBREW_NO_AUTO_UPDATE=1 brew install cocoapods
75- - flutter upgrade
76- - flutter config --enable-macos-desktop
76+ - source ci/install_flutter.sh
7777 # - xcrun simctl list runtimes
7878 # - xcrun simctl create "e2e test" "iPhone 12" "com.apple.CoreSimulator.SimRuntime.iOS-17-2"
7979 # - xcrun xctrace list devices
8080 # - |
8181 # UDID=$(xcrun xctrace list devices | grep "^e2e test Simulator (17.2)" | awk '{gsub(/[()]/,""); print $NF}')
8282 # echo $UDID
8383 # xcrun simctl boot "${UDID:?No Simulator with this name found}"
84- # - flutter doctor -v
8584
8685 build : off
8786
117116 - sudo chown $USER /dev/kvm
118117 - emulator -avd "${DEVICE_NAME}" -memory 2048 -wipe-data -no-boot-anim -cache-size 1000 -noaudio -no-window -partition-size 8192 &
119118 - adb wait-for-device shell 'while [[ -z $(getprop dev.bootcomplete) ]]; do sleep 1; done;'
120- - flutter upgrade --force
121- - flutter doctor -v
119+ - source ci/install_flutter.sh
122120
123121 build : off
124122
@@ -141,7 +139,12 @@ for:
141139 # VC_REDIST_DIR: 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.29.30133\x64\Microsoft.VC142.CRT'
142140
143141 install :
144- - flutter upgrade --force
142+ - dart pub global activate fvm
143+ - set PATH=%LOCALAPPDATA%\Pub\Cache\bin;%USERPROFILE%\fvm\default\bin;%PATH%
144+ - fvm install %FLUTTER_VERSION%
145+ - fvm global %FLUTTER_VERSION%
146+ - flutter --version
147+ - flutter doctor
145148
146149 build : off
147150
161164 install :
162165 - sudo apt update --allow-releaseinfo-change
163166 - sudo apt install -y xvfb libgtk-3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
164- - flutter upgrade --force
167+ - source ci/install_flutter.sh
165168
166169 build : off
167170
185188 - sudo apt install -y clang ninja-build xvfb libgtk-3-dev gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav
186189 - git clone https://github.com/flutter/flutter.git -b stable "$HOME/flutter"
187190 - export PATH="$PATH:$HOME/flutter/bin"
188- - flutter upgrade
189- - flutter doctor
191+ - source ci/install_flutter.sh
190192
191193 build : off
192194
0 commit comments