Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
sxychenjing
engine
提交
a7ef5086
E
engine
项目概览
sxychenjing
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
a7ef5086
编写于
7月 22, 2019
作者:
I
Ian Hickson
提交者:
GitHub
7月 22, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Clean up cirrus.yml file a little (#9958)
上级
68d269e0
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
35 addition
and
58 deletion
+35
-58
.cirrus.yml
.cirrus.yml
+35
-58
未找到文件。
.cirrus.yml
浏览文件 @
a7ef5086
gcp_credentials
:
ENCRYPTED[987a78af29b91ce8489594c9ab3fec21845bbe5ba68294b8f6def3cf0d380830f06687a89ea69c87344c5ade369700fe]
# LINUX
task
:
gke_container
:
image
:
gcr.io/flutter-cirrus/build-engine-image:latest
...
...
@@ -15,9 +16,8 @@ task:
FLUTTER_ENGINE
:
"
/tmp/clean_engine/src"
FRAMEWORK_PATH
:
"
/tmp/master_framework"
PATH
:
"
$FLUTTER_ENGINE/third_party/dart/tools/sdks/dart-sdk/bin:$DEPOT_TOOLS:$PATH"
depot_tools_script
:
setup_script
:
|
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git $DEPOT_TOOLS
gclient_sync_script
:
|
mkdir -p $ENGINE_PATH/src
echo 'solutions = [{"managed": False,"name": "src/flutter","url": "git@github.com:flutter/engine.git","deps_file": "DEPS", "custom_vars": {"download_android_deps" : False, "download_windows_deps" : False,},},]' > $ENGINE_PATH/.gclient
cd $ENGINE_PATH/src
...
...
@@ -25,37 +25,42 @@ task:
rm -rf out
mv $CIRRUS_WORKING_DIR flutter
gclient sync
matrix
:
-
name
:
build_and_test_
host
-
name
:
build_and_test_
linux_unopt_debug
compile_host_script
:
|
cd $ENGINE_PATH/src
./flutter/tools/gn --unoptimized --full-dart-sdk
ninja -C out/host_debug_unopt
test_host_script
:
cd $ENGINE_PATH/src && ./flutter/testing/run_tests.sh host_debug_unopt
test_host_script
:
|
cd $ENGINE_PATH/src
./flutter/testing/run_tests.sh host_debug_unopt
fetch_framework_script
:
|
mkdir -p $FRAMEWORK_PATH
cd $FRAMEWORK_PATH
git clone https://github.com/flutter/flutter.git
web_test
_script
:
|
test_web
_script
:
|
cd $FRAMEWORK_PATH/flutter/dev/integration_tests/web
../../../bin/flutter --local-engine=host_debug_unopt build web -v
framework_test
_script
:
|
test_framework
_script
:
|
cd $FRAMEWORK_PATH/flutter/packages/flutter
../../bin/flutter test --local-engine=host_debug_unopt
-
name
:
build_and_test_
hos
t_profile
-
name
:
build_and_test_
linux_op
t_profile
compile_host_script
:
|
cd $ENGINE_PATH/src
./flutter/tools/gn --runtime-mode profile --no-lto
ninja -C out/host_profile
test_host_script
:
cd $ENGINE_PATH/src && ./flutter/testing/run_tests.sh host_profile
-
name
:
build_and_test_host_release
test_host_script
:
|
cd $ENGINE_PATH/src
./flutter/testing/run_tests.sh host_profile
-
name
:
build_and_test_linux_opt_release
compile_host_script
:
|
cd $ENGINE_PATH/src
./flutter/tools/gn --runtime-mode release --no-lto
ninja -C out/host_release
test_host_script
:
cd $ENGINE_PATH/src && ./flutter/testing/run_tests.sh host_release
-
name
:
build_android
test_host_script
:
|
cd $ENGINE_PATH/src
./flutter/testing/run_tests.sh host_release
-
name
:
build_android_unopt_debug
get_android_sdk_script
:
|
echo 'solutions = [{"managed": False,"name": "src/flutter","url": "git@github.com:flutter/engine.git","deps_file": "DEPS", "custom_vars": {"download_windows_deps" : False,},},]' > $ENGINE_PATH/.gclient
cd $ENGINE_PATH/src
...
...
@@ -71,9 +76,19 @@ task:
mkdir javadoc_tmp
./flutter/tools/gen_javadoc.py --out-dir javadoc_tmp
-
name
:
format_and_dart_test
format_script
:
cd $ENGINE_PATH/src/flutter && ./ci/format.sh
build_script
:
cd $ENGINE_PATH/src/flutter && ./ci/build.sh
format_script
:
|
cd $ENGINE_PATH/src/flutter
./ci/format.sh
build_script
:
|
cd $ENGINE_PATH/src/flutter
./ci/build.sh
-
name
:
build_fuchsia_unopt_profile
compile_host_script
:
|
cd $ENGINE_PATH/src
./flutter/tools/gn --runtime-mode profile --fuchsia --no-lto --unopt
ninja -C out/fuchsia_profile_unopt
# WINDOWS
task
:
gce_instance
:
image_project
:
flutter-cirrus
...
...
@@ -83,64 +98,26 @@ task:
cpu
:
32
memory
:
32Gb
disk
:
50
env
:
# Cirrus is somehow not picking up the environment variables set in the VM image.
PATH
:
"
c:/depot_tools;c:/MinGit/cmd;$PATH"
DEPOT_TOOLS_WIN_TOOLCHAIN
:
0
GYP_MSVS_OVERRIDE_PATH
:
"
c:/Program
Files
(x86)/Microsoft
Visual
Studio/2017/Community"
ENGINE_PATH
:
"
c:/flutter/engine"
# robocopy can return 1 for successful copy; suppress its error code.
# move somehow doesn't work as it complains that the file is being used by another process.
gclient_sync_script
:
|
robocopy %CIRRUS_WORKING_DIR% %ENGINE_PATH%/src/flutter /MIR || (cmd /s /c exit /b 0)
setup_script
:
|
REM robocopy can return 1 for successful copy; suppress its error code.
REM move somehow doesn't work as it complains that the file is being used by another process.
robocopy %CIRRUS_WORKING_DIR% %ENGINE_PATH%/src/flutter /MIR| (cmd /s /c exit /b 0)
cd %ENGINE_PATH%/src
gclient sync
matrix
:
-
name
:
build_windows_debug
-
name
:
build_windows_
unopt_
debug
compile_host_script
:
|
cd %ENGINE_PATH%/src
python flutter/tools/gn --runtime-mode debug --unoptimized
ninja -C out/host_debug_unopt
-
name
:
build_windows_debug_unopt
-
name
:
build_windows_opt_debug
compile_host_script
:
|
cd %ENGINE_PATH%/src
python flutter/tools/gn --runtime-mode debug
ninja -C out/host_debug
task
:
gke_container
:
image
:
gcr.io/flutter-cirrus/build-engine-image:latest
cluster_name
:
build-32-cluster
zone
:
us-central1-a
namespace
:
default
cpu
:
30
# can't use all 30-cores; system pods needs cores too
memory
:
100Gb
# similarly, can't use all 100Gb memory
env
:
CIRRUS_WORKING_DIR
:
"
/tmp/github_repo"
ENGINE_PATH
:
"
/tmp/clean_engine"
DEPOT_TOOLS
:
"
/tmp/depot_tools"
FLUTTER_ENGINE
:
"
/tmp/clean_engine/src"
FRAMEWORK_PATH
:
"
/tmp/master_framework"
PATH
:
"
$FLUTTER_ENGINE/third_party/dart/tools/sdks/dart-sdk/bin:$DEPOT_TOOLS:$PATH"
depot_tools_script
:
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git $DEPOT_TOOLS
gclient_sync_script
:
|
mkdir -p $ENGINE_PATH/src
echo 'solutions = [{"managed": False,"name": "src/flutter","url": "git@github.com:flutter/engine.git","deps_file": "DEPS", "custom_vars": {"download_android_deps" : False, "download_windows_deps" : False,},},]' > $ENGINE_PATH/.gclient
cd $ENGINE_PATH/src
rm -rf flutter
rm -rf out
mv $CIRRUS_WORKING_DIR flutter
gclient sync
matrix
:
-
name
:
build_fuchsia_profile
compile_host_script
:
|
cd $ENGINE_PATH/src
./flutter/tools/gn --runtime-mode profile --fuchsia --no-lto --unopt
ninja -C out/fuchsia_profile_unopt
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录