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

Commit 2e42703

Browse files
authored
Revert "Disable build_ios task due to lack of credits. (#8150)" (#8153)
This reverts commit 59715b7.
1 parent 8be2aca commit 2e42703

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.cirrus.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,39 @@ task:
6060
mkdir javadoc_tmp
6161
./flutter/tools/gen_javadoc.py --out-dir javadoc_tmp
6262
63+
task:
64+
name: build_ios
65+
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
66+
osx_instance:
67+
image: high-sierra-xcode-9.4.1
68+
env:
69+
CIRRUS_WORKING_DIR: "/tmp/github_repo"
70+
ENGINE_PATH: "/tmp/engine"
71+
DEPOT_TOOLS: "/tmp/depot_tools"
72+
PATH: "$DEPOT_TOOLS:$PATH"
73+
depot_tools_script:
74+
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git $DEPOT_TOOLS
75+
# jazzy_script:
76+
# sudo gem install [email protected]
77+
gclient_sync_script: |
78+
mkdir -p $ENGINE_PATH/src
79+
echo 'solutions = [{"managed": False,"name": "src/flutter","url": "[email protected]:flutter/engine.git","deps_file": "DEPS", "custom_vars": {"download_android_deps" : False, "download_windows_deps" : False,},},]' > $ENGINE_PATH/.gclient
80+
cd $ENGINE_PATH/src
81+
rm -rf flutter
82+
rm -rf out
83+
mv $CIRRUS_WORKING_DIR flutter
84+
gclient sync
85+
compile_host_script: |
86+
cd $ENGINE_PATH/src
87+
./flutter/tools/gn --ios --unoptimized
88+
ninja -C out/ios_debug_unopt
89+
# TODO(dnfield): when we can install jazzy properly, we should do this.
90+
# AFAICT we can't because of Xcode version.
91+
# mkdir objcdoc_tmp
92+
# pushd flutter
93+
# ./tools/gen_objcdoc.sh ../objcdoc_tmp
94+
# popd
95+
6396
format_and_dart_test_task:
6497
container:
6598
image: gcr.io/flutter-cirrus/build-engine-image:latest

0 commit comments

Comments
 (0)