Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename incremental_build.sh
  • Loading branch information
stuartmorgan-g committed May 7, 2021
commit 9a02b7d4e7fba1a4d1e031498ab8c39ce62e3e56
40 changes: 20 additions & 20 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ task:
- CIRRUS_BUILD_ID=null pub run test
- name: publishable
script:
- ./script/incremental_build.sh version-check
- ./script/incremental_build.sh publish-check
- ./script/tool_runner.sh version-check
- ./script/tool_runner.sh publish-check
- name: format
format_script: ./script/incremental_build.sh format --fail-on-change
format_script: ./script/tool_runner.sh format --fail-on-change
license_script:
- dart script/tool/lib/src/main.dart license-check
- name: test
Expand All @@ -60,16 +60,16 @@ task:
CHANNEL: "master"
CHANNEL: "stable"
test_script:
- ./script/incremental_build.sh test
- ./script/tool_runner.sh test
- name: analyze_master
env:
matrix:
CHANNEL: "master"
tool_script:
- cd script/tool
- dart analyze --fatal-infos
plugins_script:
- ./script/incremental_build.sh analyze
script:
- ./script/tool_runner.sh analyze
## TODO(cyanglaz):
## Combing stable and master analyze jobs when integration test null safety is ready on flutter stable.
- name: analyze_stable
Expand All @@ -78,7 +78,7 @@ task:
CHANNEL: "stable"
script:
- find . -depth -type d -wholename '*_web/example' -exec rm -rf {} \;
- ./script/incremental_build.sh analyze
- ./script/tool_runner.sh analyze
### Android tasks ###
- name: build_all_plugins_apk
env:
Expand Down Expand Up @@ -111,9 +111,9 @@ task:
CHANNEL: "stable"
build_script:
- flutter config --enable-linux-desktop
- ./script/incremental_build.sh build-examples --linux
- ./script/tool_runner.sh build-examples --linux
test_script:
- xvfb-run ./script/incremental_build.sh drive-examples --linux
- xvfb-run ./script/tool_runner.sh drive-examples --linux

# Heavy-workload Linux tasks.
# These use machines with more CPUs and memory, so will reduce parallelization
Expand Down Expand Up @@ -154,11 +154,11 @@ task:
- echo "$CIRRUS_COMMIT_MESSAGE" > /tmp/cirrus_commit_message.txt
- export CIRRUS_CHANGE_MESSAGE=""
- export CIRRUS_COMMIT_MESSAGE=""
- ./script/incremental_build.sh build-examples --apk
- ./script/incremental_build.sh java-test # must come after apk build
- ./script/tool_runner.sh build-examples --apk
- ./script/tool_runner.sh java-test # must come after apk build
- if [[ -n "$GCLOUD_FIREBASE_TESTLAB_KEY" ]]; then
- echo $GCLOUD_FIREBASE_TESTLAB_KEY > ${HOME}/gcloud-service-key.json
- ./script/incremental_build.sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26
- ./script/tool_runner.sh firebase-test-lab --device model=flame,version=29 --device model=starqlteue,version=26
- else
- echo "This user does not have permission to run Firebase Test Lab tests."
- fi
Expand All @@ -177,11 +177,11 @@ task:
- dart lib/web_driver_installer.dart chromedriver --install-only
- ./chromedriver/chromedriver --port=4444 &
build_script:
- ./script/incremental_build.sh build-examples --web
- ./script/tool_runner.sh build-examples --web
test_script:
# TODO(stuartmorgan): Eliminate this check once 2.1 reaches stable.
- if [[ "$CHANNEL" == "master" ]]; then
- ./script/incremental_build.sh drive-examples --web
- ./script/tool_runner.sh drive-examples --web
- else
- echo "Requires null-safe integration_test; skipping."
- fi
Expand Down Expand Up @@ -216,13 +216,13 @@ task:
- xcrun simctl list
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-11 com.apple.CoreSimulator.SimRuntime.iOS-14-3 | xargs xcrun simctl boot
build_script:
- ./script/incremental_build.sh build-examples --ipa
- ./script/tool_runner.sh build-examples --ipa
test_script:
- ./script/incremental_build.sh xctest --skip $PLUGINS_TO_SKIP_XCTESTS --ios-destination "platform=iOS Simulator,name=iPhone 11,OS=latest"
- ./script/tool_runner.sh xctest --skip $PLUGINS_TO_SKIP_XCTESTS --ios-destination "platform=iOS Simulator,name=iPhone 11,OS=latest"
# `drive-examples` contains integration tests, which changes the UI of the application.
# This UI change sometimes affects `xctest`.
# So we run `drive-examples` after `xctest`, changing the order will result ci failure.
- ./script/incremental_build.sh drive-examples --ios
- ./script/tool_runner.sh drive-examples --ios
### macOS desktop tasks ###
- name: build_all_plugins_macos
env:
Expand All @@ -240,9 +240,9 @@ task:
PATH: $PATH:/usr/local/bin
build_script:
- flutter config --enable-macos-desktop
- ./script/incremental_build.sh build-examples --macos --no-ipa
- ./script/tool_runner.sh build-examples --macos --no-ipa
test_script:
- ./script/incremental_build.sh drive-examples --macos
- ./script/tool_runner.sh drive-examples --macos

task:
# Don't use FLUTTER_UPGRADE_TEMPLATE, Flutter tooling not needed.
Expand All @@ -253,4 +253,4 @@ task:
script:
# TODO(jmagman): Lint macOS podspecs but skip any that fail library validation.
- find . -name "*.podspec" | xargs grep -l "osx" | xargs rm
- ./script/incremental_build.sh podspecs
- ./script/tool_runner.sh podspecs
2 changes: 1 addition & 1 deletion packages/video_player/video_player/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies in the examples directory):
flutter pub upgrade
flutter pub run pigeon --dart_null_safety --input pigeons/messages.dart
# git commit your changes so that your working environment is clean
(cd ../../../; ./script/incremental_build.sh format --travis --clang-format=clang-format-7)
(cd ../../../; ./script/tool_runner.sh format --clang-format=clang-format-7)
```

If you update pigeon itself and want to test the changes here,
Expand Down
File renamed without changes.