-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
65 lines (56 loc) · 1.12 KB
/
.gitlab-ci.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
58
59
60
61
62
63
64
65
stages:
- lint
- test
- build
- deploy
before_script:
- flutter pub get
- flutter clean
linting-code:
stage: lint
script:
- flutter analyze --no-fatal-infos --no-fatal-warnings
tags:
- MacOS
unit-tests:
stage: test
script:
- flutter test
tags:
- MacOS
build-android-debug:
stage: build
only:
- branches
script:
- sh install_tflite.sh -d
- flutter build appbundle --debug
- flutter build appbundle --debug
artifacts:
name: android-debug
paths:
- build/app/outputs/bundle/debug/app-debug.aab
- build/app/outputs/flutter-apk/app-release.apk
tags:
- MacOS
deploy-android-job:
stage: deploy
script:
- echo "Deploying application..."
- echo "Application successfully deployed. (JK gotta implement this sometime)"
tags:
- MacOS
#build-ios-debug:
# stage: build
# only:
# - branches
# script:
# - sh install_tflite.sh -d
# - flutter build ipa
## artifacts:
## name: ios-debug
## paths:
## - build/app/outputs/bundle/debug/app-debug.aab
## - build/app/outputs/flutter-apk/app-release.apk
# tags:
# - MacOS