Delete .cirrus.yml (flutter/engine#34335)
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
gcp_credentials: ENCRYPTED[!ebad0a1f4f7a446b77944c33651460a7ab010b4617273cb016cf354eb8fc22aa92e37a3c58bfa4a0c40a799351e027a6!]
|
||||
|
||||
# Don't run on 'master' since it's a mirror of 'main'.
|
||||
only_if: $CIRRUS_BRANCH != 'master'
|
||||
|
||||
# LINUX
|
||||
task:
|
||||
gke_container:
|
||||
dockerfile: "ci/docker/build/Dockerfile"
|
||||
builder_image_name: docker-builder # gce vm image
|
||||
builder_image_project: flutter-cirrus
|
||||
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_DOCKER_CONTEXT: "ci/docker/build"
|
||||
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"
|
||||
USE_ANDROID: "False"
|
||||
setup_script: |
|
||||
git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git $DEPOT_TOOLS
|
||||
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" : ' $USE_ANDROID ', "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_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
|
||||
fetch_framework_script: |
|
||||
mkdir -p $FRAMEWORK_PATH
|
||||
cd $FRAMEWORK_PATH
|
||||
git clone https://github.com/flutter/flutter.git
|
||||
analyze_framework_script: |
|
||||
cd $FRAMEWORK_PATH/flutter
|
||||
rm -rf bin/cache/pkg/sky_engine
|
||||
mkdir -p bin/cache/pkg/
|
||||
cp -r $ENGINE_PATH/src/out/host_debug_unopt/gen/dart-pkg/sky_engine bin/cache/pkg/
|
||||
bin/flutter update-packages --local-engine=host_debug_unopt
|
||||
bin/flutter analyze --flutter-repo --local-engine=host_debug_unopt
|
||||
Reference in New Issue
Block a user