forked from flutter/packages
-
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.
Merge branch 'main' into null_status_retriable
* main: (479 commits) removes raw ArrayLists (flutter#3101) Roll Flutter from c9affdba9dcd to 27f8ebdaed70 (15 revisions) (flutter#3098) [ci] Fix the new LUCI iOS build-all tasks (flutter#3099) [pigeon] [ObjC] Removes unused GetNullableObject function (flutter#3100) [pigeon] Swift host error handling (flutter#3084) Roll Flutter from a815ee634202 to c9affdba9dcd (23 revisions) (flutter#3093) [ci] Enable min SDK version checks (flutter#3095) [pigeon] Fix C++ config handling (flutter#3094) [ci] Add LUCI version of iOS build-all (flutter#3096) [pigeon] Adds SwiftFunction annotation (flutter#2304) [flutter_adaptive_scaffold] Change `selectedIndex` on `standardNavigationRail` to allow null value. (flutter#3088) [pigeon] requires analyzer 5.2.0 (flutter#3090) Roll Flutter from c35efdaa6854 to a815ee634202 (22 revisions) (flutter#3089) [ci] Update legacy Flutter version tests (flutter#3087) Roll Flutter (stable) from 135454af3247 to b06b8b271095 (2551 revisions) (flutter#3086) [flutter_adaptive_scaffold] Fix leading and trailing Navigation Rail Widgets (flutter#3080) Roll Flutter from bd7bee0f9eb8 to c35efdaa6854 (24 revisions) (flutter#3085) [pigeon] Minor C++ output adjustments (flutter#3083) [pigeon] Updates writeScoped and addScoped to disallow symbol-less use. (flutter#3081) Roll Flutter from f33e8d3701b5 to bd7bee0f9eb8 (5 revisions) (flutter#3082) ...
- Loading branch information
Showing
1,369 changed files
with
88,090 additions
and
26,244 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
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 |
---|---|---|
@@ -1,30 +1,43 @@ | ||
# Last updated 02/04/2022 (to rebuild the docker image, update this timestamp) | ||
# The Flutter version is not important here, since the CI scripts update Flutter | ||
# before running. What matters is that the base image is pinned to minimize | ||
# unintended changes when modifying this file. | ||
FROM cirrusci/flutter@sha256:283f328d162adfc345bec5e070f79201edcb28f5483addf238c57d78bad0da23 | ||
# This is the hash for the 3.0.0 image. | ||
FROM cirrusci/flutter@sha256:794fbbce5422e79aae1dbf6e6cbfcf5fe89aff50350d7c018853b3cfdf35821a | ||
|
||
RUN sudo apt-get update && \ | ||
sudo apt-get upgrade --yes && \ | ||
sudo apt-get install --yes gpg-agent && \ | ||
sudo apt-get clean --yes | ||
RUN apt-get update -y | ||
|
||
# This must occur after the install of gpg-agent | ||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | ||
# Set up Firebase Test Lab requirements. | ||
RUN apt-get install -y --no-install-recommends gnupg | ||
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \ | ||
sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list | ||
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \ | ||
sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - | ||
RUN apt-get update && apt-get install -y google-cloud-sdk && \ | ||
gcloud config set core/disable_usage_reporting true && \ | ||
gcloud config set component_manager/disable_update_check true | ||
|
||
# Install formatter for C-based languages. | ||
RUN apt-get install -y clang-format | ||
|
||
# Install Linux desktop build requirements. | ||
RUN apt-get install -y clang cmake ninja-build file pkg-config libgtk-3-dev | ||
# Install Linux desktop requirements: | ||
# - build tools. | ||
RUN apt-get install -y clang cmake ninja-build file pkg-config | ||
# - libraries. | ||
RUN apt-get install -y libgtk-3-dev libblkid-dev liblzma-dev libgcrypt20-dev | ||
# - xvfb to allow running headless. | ||
RUN apt-get install -y xvfb libegl1-mesa | ||
|
||
# Needed for web_benchmarks | ||
RUN sudo apt-get install -y libgbm-dev | ||
|
||
RUN yes | sdkmanager \ | ||
"platforms;android-27" \ | ||
"build-tools;27.0.3" \ | ||
"extras;google;m2repository" \ | ||
"extras;android;m2repository" | ||
# Install Chrome and make it the default browser, for Linux url_launcher tests. | ||
# IMPORTANT: Web tests should use a pinned version of Chromium, not this, since | ||
# this isn't pinned, so any time the docker image is re-created the version of | ||
# Chrome may change. | ||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | ||
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list | ||
RUN apt-get update && apt-get install -y --no-install-recommends google-chrome-stable | ||
# Make Chrome the default for http:, https: and file:. | ||
RUN apt-get install -y xdg-utils | ||
RUN xdg-settings set default-web-browser google-chrome.desktop | ||
RUN xdg-mime default google-chrome.desktop inode/directory | ||
|
||
RUN yes | sdkmanager --licenses | ||
# Needed for web_benchmarks. | ||
RUN sudo apt-get install -y libgbm-dev |
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 |
---|---|---|
@@ -1 +1 @@ | ||
36fe51524f7219b4cfe9869a63d691d20443d994 | ||
27f8ebdaed7078f311d456befae1c6236ba65fd8 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
b06b8b2710955028a6b562f5aa6fe62941d6febf |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
# Copyright 2013 The Flutter Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
platform="$1" | ||
build_mode="$2" | ||
shift 2 | ||
cd all_packages | ||
flutter build "$platform" --"$build_mode" "$@" |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
# Copyright 2013 The Flutter Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
dart pub global run flutter_plugin_tools create-all-packages-app \ | ||
--output-dir=. --exclude script/configs/exclude_all_packages_app.yaml |
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
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tasks: | ||
- name: prepare tool | ||
script: .ci/scripts/prepare_tool.sh | ||
- name: create all_packages app | ||
script: .ci/scripts/create_all_packages_app.sh | ||
- name: build all_packages for iOS debug | ||
script: .ci/scripts/build_all_packages_app.sh | ||
args: ["ios", "debug", "--no-codesign"] | ||
- name: build all_packages for iOS release | ||
script: .ci/scripts/build_all_packages_app.sh | ||
args: ["ios", "release", "--no-codesign"] |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tasks: | ||
- name: prepare tool | ||
script: .ci/scripts/prepare_tool.sh | ||
- name: create all_packages app | ||
script: .ci/scripts/create_all_packages_app.sh | ||
- name: build all_packages for macOS debug | ||
script: .ci/scripts/build_all_packages_app.sh | ||
args: ["macos", "debug"] | ||
- name: build all_plugins for macOS release | ||
script: .ci/scripts/build_all_packages_app.sh | ||
args: ["macos", "release"] |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
tasks: | ||
- name: prepare tool | ||
script: .ci/scripts/prepare_tool.sh | ||
- name: custom package tests | ||
script: .ci/scripts/custom_package_tests.sh |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tasks: | ||
- name: prepare tool | ||
script: .ci/scripts/prepare_tool.sh | ||
- name: create all_packages app | ||
script: .ci/scripts/create_all_packages_app.sh | ||
- name: build all_packages app for Windows debug | ||
script: .ci/scripts/build_all_packages_app.sh | ||
args: ["windows", "debug"] | ||
- name: build all_packages app for Windows release | ||
script: .ci/scripts/build_all_packages_app.sh | ||
args: ["windows", "release"] |
Oops, something went wrong.