加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.cirrus.yml 895 Bytes
一键复制 编辑 原始数据 按行查看 历史
hanabi1224 提交于 2019-10-19 01:25 . cirrus ci
task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
container:
dockerfile: .ci/Dockerfile
cpu: 8
memory: 16G
pub_cache:
folder: ~/.pub-cache
setup_script:
- flutter channel stable
- flutter upgrade
build_script:
- flutter build apk
test_script: flutter test
task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
osx_instance:
#image: mojave-xcode-10.2-flutter
image: mojave-flutter
pub_cache:
folder: ~/.pub-cache
setup_script:
- pod repo update
- flutter channel stable
- flutter upgrade
create_simulator_script:
- xcrun simctl list
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-12-2 | xargs xcrun simctl boot
build_script:
- flutter build ios --no-codesign
test_script: flutter test
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化