File tree Expand file tree Collapse file tree 3 files changed +52
-9
lines changed Expand file tree Collapse file tree 3 files changed +52
-9
lines changed Original file line number Diff line number Diff line change
1
+ tap 'wix/brew'
2
+ brew 'applesimutils'
Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
jobs :
8
8
review :
9
- name : ' Review'
9
+ name : Review
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
15
15
16
16
with :
17
17
node-version : 16
18
- cache : ' yarn'
18
+ cache : yarn
19
19
- name : Install JS dependencies
20
20
run : |
21
21
yarn
25
25
- name : TypeScript
26
26
run : |
27
27
yarn test:ts
28
+ ios :
29
+ name : iOS
30
+ runs-on : macos-latest
31
+ steps :
32
+ - name : Checkout
33
+ uses : actions/checkout@v3
34
+ - name : Cache /.ccache
35
+ uses : actions/cache@v3
36
+ with :
37
+ path : .ccache
38
+ key : ccache-ios-${{ hashFiles('yarn.lock') }}
39
+ restore-keys : ccache-ios-
40
+ - name : Set up Node.js
41
+
42
+ with :
43
+ node-version : 16
44
+ cache : yarn
45
+ - name : Set up environment
46
+ run : |
47
+ brew bundle --file=.github/Brewfile.ios --no-lock
48
+ touch .watchmanconfig
49
+ - name : Install JS dependencies
50
+ run : |
51
+ yarn
52
+ - name : Bundle JS
53
+ run : |
54
+ yarn bundle:ios --dev false
55
+ - name : Install Pods
56
+ run : |
57
+ pod install
58
+ working-directory : example/ios
59
+ - name : Boot simulator
60
+ run : |
61
+ ./scripts/ios_e2e.sh 'run_simulator'
62
+ - name : Build
63
+ run : |
64
+ yarn build:e2e:ios
65
+ - name : Test
66
+ run : |
67
+ yarn test:e2e:ios
28
68
macos :
29
- name : ' macOS'
69
+ name : macOS
30
70
runs-on : macos-latest
31
71
steps :
32
72
- name : Checkout
@@ -35,28 +75,28 @@ jobs:
35
75
uses : actions/cache@v3
36
76
with :
37
77
path : .ccache
38
- key : ${{ runner.os }}- ccache-${{ hashFiles('yarn.lock') }}
39
- restore-keys : ${{ runner.os }}- ccache-
78
+ key : ccache-macos -${{ hashFiles('yarn.lock') }}
79
+ restore-keys : ccache-macos -
40
80
- name : Set up Node.js
41
81
42
82
with :
43
83
node-version : 16
44
- cache : ' yarn'
84
+ cache : yarn
45
85
- name : Install JS dependencies
46
86
run : |
47
87
yarn
48
88
- name : Bundle JS
49
89
run : |
50
90
yarn bundle:macos
51
- - name : Install macOS dependencies
91
+ - name : Install Pods
52
92
run : |
53
93
pod install
54
94
working-directory : example/macos
55
95
- name : Build and test
56
96
run : |
57
97
yarn test:e2e:macos
58
98
windows :
59
- name : ' Windows'
99
+ name : Windows
60
100
runs-on : windows-2019
61
101
steps :
62
102
- name : Set up MSBuild
69
109
70
110
with :
71
111
node-version : 16
72
- cache : ' yarn'
112
+ cache : yarn
73
113
- name : Install JS dependencies
74
114
run : |
75
115
yarn
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ set -eo pipefail
2
3
3
4
BUILD_ACTIONS=" $@ "
4
5
You can’t perform that action at this time.
0 commit comments