mirror of
https://github.com/flutter/packages.git
synced 2025-07-01 23:51:55 +08:00
upgraded cirrus mac image (#225)
This commit is contained in:
10
.cirrus.yml
10
.cirrus.yml
@ -57,22 +57,14 @@ task:
|
|||||||
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
|
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
|
||||||
name: local_tests
|
name: local_tests
|
||||||
osx_instance:
|
osx_instance:
|
||||||
image: high-sierra-xcode-9.4.1
|
image: catalina-flutter
|
||||||
env:
|
env:
|
||||||
PATH: $PATH:/usr/local/bin
|
PATH: $PATH:/usr/local/bin
|
||||||
setup_script:
|
setup_script:
|
||||||
- pod repo update
|
- pod repo update
|
||||||
- git clone https://github.com/flutter/flutter.git
|
|
||||||
- git fetch origin master
|
- git fetch origin master
|
||||||
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
|
|
||||||
- flutter doctor
|
- flutter doctor
|
||||||
- pub global activate flutter_plugin_tools
|
- pub global activate flutter_plugin_tools
|
||||||
- mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
|
|
||||||
- export PATH=`pwd`/homebrew/bin:$PATH
|
|
||||||
- brew install java
|
|
||||||
- brew install clang-format
|
- brew install clang-format
|
||||||
build_script:
|
build_script:
|
||||||
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
|
|
||||||
- export PATH=`pwd`/homebrew/bin:$PATH
|
|
||||||
- export PATH=`pwd`/homebrew/opt/openjdk/bin:$PATH
|
|
||||||
- ./script/local_tests.sh
|
- ./script/local_tests.sh
|
||||||
|
Reference in New Issue
Block a user