52
52
- os : ubuntu-latest
53
53
type : library
54
54
language : js
55
+ - os : ubuntu-latest
56
+ type : module-mixed
57
+ language : kotlin-objc
58
+ arch : new
59
+ - os : macos-14
60
+ type : module-mixed
61
+ language : kotlin-objc
62
+ arch : new
63
+ - os : ubuntu-latest
64
+ type : view-mixed
65
+ language : kotlin-objc
66
+ arch : new
67
+ - os : macos-14
68
+ type : view-mixed
69
+ language : kotlin-objc
70
+ arch : new
55
71
- os : ubuntu-latest
56
72
type : module-legacy
57
73
language : cpp
72
88
language : cpp
73
89
74
90
concurrency :
75
- group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type }}-${{ matrix.language }}
91
+ group : ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type }}-${{ matrix.language }}-${{ matrix.arch }}
76
92
cancel-in-progress : true
77
93
78
94
runs-on : ${{ matrix.os }}
@@ -84,13 +100,20 @@ jobs:
84
100
- name : Setup
85
101
uses : ./.github/actions/setup
86
102
103
+ - name : Set environment variables
104
+ run : |
105
+ if [[ ${{ matrix.arch }} == 'new' ]]; then
106
+ echo "RCT_NEW_ARCH_ENABLED=1" >> $GITHUB_ENV
107
+ echo "ORG_GRADLE_PROJECT_newArchEnabled=true" >> $GITHUB_ENV
108
+ fi
109
+
87
110
- name : Build package
88
111
run : |
89
112
yarn workspace create-react-native-library prepare
90
113
91
114
- name : Get working directory
92
115
run : |
93
- echo "work_dir=${{ matrix.os }}-${{ matrix.type }}-${{ matrix.language }}" >> $GITHUB_ENV
116
+ echo "work_dir=${{ matrix.os }}-${{ matrix.type }}-${{ matrix.language }}-${{ matrix.arch }} " >> $GITHUB_ENV
94
117
95
118
- name : Create library
96
119
run : |
@@ -158,9 +181,9 @@ jobs:
158
181
with :
159
182
path : |
160
183
${{ env.work_dir }}/.turbo
161
- key : ${{ runner.os }}-library-turborepo-${{ matrix.type }}-${{ matrix.language }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }}
184
+ key : ${{ runner.os }}-library-turborepo-${{ matrix.type }}-${{ matrix.language }}-${{ matrix.arch }}-${{ hashFiles(format('{0}/yarn.lock', env.work_dir)) }}
162
185
restore-keys : |
163
- ${{ runner.os }}-library-turborepo-${{ matrix.type }}-${{ matrix.language }}-
186
+ ${{ runner.os }}-library-turborepo-${{ matrix.type }}-${{ matrix.language }}-${{ matrix.arch }}-
164
187
165
188
- name : Check turborepo cache
166
189
if : env.android_build == 1 || env.ios_build == 1
@@ -248,13 +271,13 @@ jobs:
248
271
${{ runner.os }}-library-cocoapods-
249
272
250
273
- name : Install cocoapods
274
+ env :
275
+ NO_FLIPPER : 1
251
276
if : env.ios_build == 1 && env.turbo_cache_hit_ios != 1 && steps.library-cocoapods-cache.outputs.cache-hit != 'true'
252
277
working-directory : ${{ env.work_dir }}
253
278
run : |
254
279
cd example/ios
255
280
pod install
256
- env :
257
- NO_FLIPPER : 1
258
281
259
282
- name : Build example (iOS)
260
283
if : env.ios_build == 1
0 commit comments