forked from MaikuB/flutter_appauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
57 lines (54 loc) · 1.35 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
task:
name: Run all unit tests
container:
image: cirrusci/flutter:stable
install_melos_script:
- dart pub global activate melos
test_script:
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- melos bootstrap
- melos run test:unit --no-select
task:
name: Build Android example app
container:
image: cirrusci/flutter:stable
pub_cache:
folder: ~/.pub-cache
install_melos_script:
- dart pub global activate melos
build_script:
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- melos bootstrap
- melos run build:example_android
task:
name: Build iOS example app
osx_instance:
image: monterey-xcode
pub_cache:
folder: ~/.pub-cache
upgrade_script:
- flutter channel stable
- flutter upgrade
install_melos_script:
- dart pub global activate melos
build_script:
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- melos bootstrap
- melos run build:example_ios
task:
name: Build macOS example app
osx_instance:
image: monterey-xcode
pub_cache:
folder: ~/.pub-cache
upgrade_script:
- flutter channel stable
- flutter upgrade
setup_script:
- flutter config --enable-macos-desktop
install_melos_script:
- dart pub global activate melos
build_script:
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- melos bootstrap
- melos run build:example_macos