forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build engine for iOS on presubmit (flutter#8011)
* build the ios engine on Cirrus
- Loading branch information
Showing
2 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,39 @@ task: | |
mkdir javadoc_tmp | ||
./flutter/tools/gen_javadoc.py --out-dir javadoc_tmp | ||
task: | ||
name: build_ios | ||
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' | ||
osx_instance: | ||
image: high-sierra-xcode-9.4.1 | ||
env: | ||
CIRRUS_WORKING_DIR: "/tmp/github_repo" | ||
ENGINE_PATH: "/tmp/engine" | ||
DEPOT_TOOLS: "/tmp/depot_tools" | ||
PATH: "$DEPOT_TOOLS:$PATH" | ||
depot_tools_script: | ||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $DEPOT_TOOLS | ||
# jazzy_script: | ||
# sudo gem install [email protected] | ||
gclient_sync_script: | | ||
mkdir -p $ENGINE_PATH/src | ||
echo 'solutions = [{"managed": False,"name": "src/flutter","url": "[email protected]:flutter/engine.git","custom_deps": {},"deps_file": "DEPS","safesync_url": "",},]' > $ENGINE_PATH/.gclient | ||
cd $ENGINE_PATH/src | ||
rm -rf flutter | ||
rm -rf out | ||
mv $CIRRUS_WORKING_DIR flutter | ||
gclient sync | ||
compile_host_script: | | ||
cd $ENGINE_PATH/src | ||
./flutter/tools/gn --ios --unoptimized | ||
ninja -C out/ios_debug_unopt | ||
# TODO(dnfield): when we can install jazzy properly, we should do this. | ||
# AFAICT we can't because of Xcode version. | ||
# mkdir objcdoc_tmp | ||
# pushd flutter | ||
# ./tools/gen_objcdoc.sh ../objcdoc_tmp | ||
# popd | ||
format_and_dart_test_task: | ||
container: | ||
image: gcr.io/flutter-cirrus/build-engine-image:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters