Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 8bf5fd6

Browse files
authored
Revert "[ci] Switch to macOS VM with Flutter pre-installed (#1313)"
This reverts commit ff8e8ca.
1 parent bf54e78 commit 8bf5fd6

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.cirrus.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,26 @@ task:
5757
task:
5858
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
5959
osx_instance:
60-
image: mojave-xcode-10.2-flutter
60+
image: mojave-xcode-10.1
61+
install_cocoapods_script:
62+
- sudo gem install cocoapods
6163
setup_script:
64+
- brew update
65+
- brew install libimobiledevice
66+
- brew install ideviceinstaller
67+
- brew install ios-deploy
6268
- pod repo update
63-
switch_channel_script:
64-
- flutter channel master
65-
- flutter upgrade
69+
- git clone https://github.com/flutter/flutter.git
70+
- git fetch origin master
71+
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
6672
- flutter doctor
67-
activate_script:
6873
- pub global activate flutter_plugin_tools
69-
create_simulator_script:
70-
- xcrun simctl list
71-
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-12-2 | xargs xcrun simctl boot
74+
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-12-1 | xargs xcrun simctl boot
7275
matrix:
7376
- name: build_all_plugins_ipa
74-
script: ./script/build_all_plugins_app.sh ios --no-codesign
77+
script:
78+
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
79+
- ./script/build_all_plugins_app.sh ios --no-codesign
7580
- name: build-ipas+drive-examples
7681
env:
7782
PATH: $PATH:/usr/local/bin
@@ -82,5 +87,6 @@ task:
8287
PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4"
8388
SIMCTL_CHILD_MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
8489
build_script:
90+
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
8591
- ./script/incremental_build.sh build-examples --ipa
86-
- ./script/incremental_build.sh drive-examples
92+
- ./script/incremental_build.sh drive-examples

0 commit comments

Comments
 (0)