forked from ionic-team/capacitor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
62 lines (52 loc) · 1.3 KB
/
config.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
version: 2.1
jobs:
get-cli:
working_directory: /tmp/workspace
docker:
- image: circleci/node:10.13.0
steps:
- checkout
run-cli-tests:
macos:
xcode: "11.1.0"
working_directory: /tmp/workspace
steps:
- checkout
- run:
command: npm install
working_directory: /tmp/workspace/cli
- run:
command: npm run build
working_directory: /tmp/workspace/cli
- run:
command: npm run test
working_directory: /tmp/workspace/cli
build-ios:
macos:
xcode: "11.1.0"
working_directory: /tmp/workspace
steps:
- checkout
- run:
command: pod lib lint --allow-warnings Capacitor.podspec
- run:
command: pod lib lint --allow-warnings CapacitorCordova.podspec
build-android:
docker:
- image: circleci/android:api-29-node
working_directory: /tmp/workspace
steps:
- checkout
- run:
command: ./gradlew clean build -b capacitor/build.gradle -Pandroid.useAndroidX=true -Pandroid.enableJetifier=true
working_directory: /tmp/workspace/android
workflows:
version: 2.1
node-ios-android:
jobs:
- get-cli
- run-cli-tests:
requires:
- get-cli
- build-ios
- build-android