64
64
# Create a zip file of the DartDoc output
65
65
zip -r agora_rtc_engine_docs.zip doc
66
66
- name : Upload DartDoc Artifact ⬆️
67
- uses : actions/upload-artifact@v3
67
+ uses : actions/upload-artifact@v4
68
68
with :
69
69
name : agora_rtc_engine_docs.zip
70
70
path : agora_rtc_engine_docs.zip
@@ -85,20 +85,25 @@ jobs:
85
85
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
86
86
strategy :
87
87
matrix :
88
- version : ["3.7.0", "3.x "]
88
+ version : ["3.7.0", "3.24.5 "]
89
89
runs-on : ubuntu-latest
90
90
timeout-minutes : 120
91
91
env :
92
92
TEST_APP_ID : ${{ secrets.MY_APP_ID }}
93
93
steps :
94
- - uses : actions/checkout@v1
95
- - uses : actions/setup-java@v1
94
+ - uses : actions/checkout@v3
95
+ - uses : actions/setup-java@v4
96
96
with :
97
- java-version : " 11"
97
+ distribution : ' zulu'
98
+ java-version : ' 17'
98
99
- uses : subosito/flutter-action@v2
99
100
with :
100
101
flutter-version : ${{ matrix.version }}
101
- - run : flutter config --enable-macos-desktop
102
+ - name : Enable KVM
103
+ run : |
104
+ echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
105
+ sudo udevadm control --reload-rules
106
+ sudo udevadm trigger --name-match=kvm
102
107
- name : run flutter android integration tests
103
108
uses : reactivecircus/android-emulator-runner@v2
104
109
with :
@@ -115,8 +120,8 @@ jobs:
115
120
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
116
121
strategy :
117
122
matrix :
118
- version : ["3.7.0", "3.16 "]
119
- runs-on : macos-12
123
+ version : ["3.7.0", "3.24.5 "]
124
+ runs-on : macos-latest
120
125
timeout-minutes : 120
121
126
env :
122
127
TEST_APP_ID : ${{ secrets.MY_APP_ID }}
@@ -126,18 +131,18 @@ jobs:
126
131
with :
127
132
flutter-version : ${{ matrix.version }}
128
133
cache : true
129
- - uses : futureware-tech/simulator-action@v1
134
+ - uses : futureware-tech/simulator-action@v3
130
135
with :
131
- model : ' iPhone 13 Pro Max '
136
+ model : ' iPhone 15 '
132
137
- run : bash ci/run_flutter_integration_test_ios.sh
133
138
134
139
integration_test_macos :
135
140
name : Run Flutter macOS Integration Tests
136
141
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
137
142
strategy :
138
143
matrix :
139
- version : ["3.7.0", "3.x "]
140
- runs-on : macos-12
144
+ version : ["3.7.0", "3.24.5 "]
145
+ runs-on : macos-latest
141
146
timeout-minutes : 120
142
147
env :
143
148
TEST_APP_ID : ${{ secrets.MY_APP_ID }}
@@ -155,7 +160,7 @@ jobs:
155
160
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
156
161
strategy :
157
162
matrix :
158
- version : ["3.7.0", "3.x "]
163
+ version : ["3.7.0", "3.24.5 "]
159
164
runs-on : windows-2019
160
165
timeout-minutes : 120
161
166
env :
@@ -177,7 +182,7 @@ jobs:
177
182
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
178
183
strategy :
179
184
matrix :
180
- version : ['3.x ']
185
+ version : ['3.24.5 ']
181
186
runs-on : ubuntu-latest
182
187
timeout-minutes : 60
183
188
env :
@@ -200,13 +205,14 @@ jobs:
200
205
needs : flutter_codestyle_check
201
206
strategy :
202
207
matrix :
203
- version : ["3.7.0 ", "3.x "]
208
+ version : ["3.7.12 ", "3.24.5 "]
204
209
runs-on : ubuntu-latest
205
210
steps :
206
211
- uses : actions/checkout@v3
207
- - uses : actions/setup-java@v1
212
+ - uses : actions/setup-java@v4
208
213
with :
209
- java-version : " 11"
214
+ distribution : ' zulu'
215
+ java-version : ' 17'
210
216
- uses : subosito/flutter-action@v2
211
217
with :
212
218
flutter-version : ${{ matrix.version }}
@@ -220,13 +226,14 @@ jobs:
220
226
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
221
227
strategy :
222
228
matrix :
223
- version : ["3.7.0 ", "3.x "]
229
+ version : ["3.7.12 ", "3.24.5 "]
224
230
runs-on : windows-2019
225
231
steps :
226
232
- uses : actions/checkout@v3
227
- - uses : actions/setup-java@v1
233
+ - uses : actions/setup-java@v4
228
234
with :
229
- java-version : ' 11'
235
+ distribution : ' zulu'
236
+ java-version : ' 17'
230
237
- uses : subosito/flutter-action@v2
231
238
with :
232
239
flutter-version : ${{ matrix.version }}
@@ -241,8 +248,8 @@ jobs:
241
248
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
242
249
strategy :
243
250
matrix :
244
- version : ["3.7.0", "3.x "]
245
- runs-on : macos-12
251
+ version : ["3.7.0", "3.24.5 "]
252
+ runs-on : macos-latest
246
253
timeout-minutes : 120
247
254
steps :
248
255
- uses : actions/checkout@v3
@@ -261,7 +268,7 @@ jobs:
261
268
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
262
269
strategy :
263
270
matrix :
264
- version : ['3.x ']
271
+ version : ['3.24.5 ']
265
272
runs-on : macos-13
266
273
timeout-minutes : 120
267
274
steps :
@@ -286,7 +293,7 @@ jobs:
286
293
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
287
294
strategy :
288
295
matrix :
289
- version : ["3.7.0", "3.x "]
296
+ version : ["3.7.0", "3.24.5 "]
290
297
runs-on : ubuntu-latest
291
298
timeout-minutes : 120
292
299
steps :
@@ -304,18 +311,19 @@ jobs:
304
311
rendering_test_android :
305
312
name : Run Flutter Android Rendering Tests
306
313
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
307
- runs-on : macos-12
314
+ runs-on : ubuntu-latest
308
315
timeout-minutes : 120
309
316
env :
310
317
TEST_APP_ID : ${{ secrets.MY_APP_ID }}
311
318
steps :
312
319
- uses : actions/checkout@v3
313
- - uses : actions/setup-java@v1
320
+ - uses : actions/setup-java@v4
314
321
with :
315
- java-version : ' 11'
322
+ distribution : ' zulu'
323
+ java-version : ' 17'
316
324
- uses : subosito/flutter-action@v2
317
325
with :
318
- flutter-version : ' 3.x '
326
+ flutter-version : ' 3.24.5 '
319
327
cache : true
320
328
- name : Checkout hoe
321
329
uses : actions/checkout@v3
@@ -342,7 +350,11 @@ jobs:
342
350
--flutter-package-name=agora_rtc_engine \
343
351
--iris-android-cdn-url=${IRIS_CDN_URL_ANDROID} \
344
352
--iris-macos-cdn-url=${IRIS_CDN_URL_MACOS}
345
- - run : flutter config --enable-macos-desktop
353
+ - name : Enable KVM
354
+ run : |
355
+ echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
356
+ sudo udevadm control --reload-rules
357
+ sudo udevadm trigger --name-match=kvm
346
358
- name : run flutter android integration tests
347
359
uses : reactivecircus/android-emulator-runner@v2
348
360
with :
@@ -359,13 +371,13 @@ jobs:
359
371
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
360
372
strategy :
361
373
matrix :
362
- version : ["3.x "]
374
+ version : ["3.24.5 "]
363
375
runs-on : macos-13 # Rendering test on ios simulator need macos 13+
364
376
timeout-minutes : 60
365
377
env :
366
378
TEST_APP_ID : ${{ secrets.MY_APP_ID }}
367
379
steps :
368
- - uses : actions/checkout@v1
380
+ - uses : actions/checkout@v3
369
381
- uses : subosito/flutter-action@v2
370
382
with :
371
383
flutter-version : ${{ matrix.version }}
@@ -391,21 +403,18 @@ jobs:
391
403
--apple-package-name=io.agora.agoraRtcEngineExample \
392
404
--flutter-package-name=agora_rtc_engine \
393
405
--iris-ios-cdn-url=${IRIS_CDN_URL_IOS}
394
- - name : Create ios simulator
395
- run : |
396
- xcrun simctl list
397
- # We generate the screenshots base on the simulator "iPhone 13 Pro Max", so we set the SimDeviceType to iPhone 13 Pro Max.
398
- # If you need to change the SimDeviceType, you may need to re-generate the screenshots first.
399
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max com.apple.CoreSimulator.SimRuntime.iOS-16-4 | xargs xcrun simctl boot
406
+ - uses : futureware-tech/simulator-action@v3
407
+ with :
408
+ model : ' iPhone 15'
400
409
- run : bash ci/rendering_test_ios.sh
401
410
402
411
rendering_test_macos :
403
412
name : Run Flutter macOS Rendering Tests
404
413
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
405
414
strategy :
406
415
matrix :
407
- version : ['3.x ']
408
- runs-on : macos-12
416
+ version : ['3.24.5 ']
417
+ runs-on : macos-latest
409
418
timeout-minutes : 120
410
419
env :
411
420
TEST_APP_ID : ${{ secrets.MY_APP_ID }}
@@ -499,7 +508,7 @@ jobs:
499
508
if : ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
500
509
strategy :
501
510
matrix :
502
- version : ['3.x ']
511
+ version : ['3.24.5 ']
503
512
runs-on : ubuntu-latest
504
513
timeout-minutes : 60
505
514
env :
@@ -518,7 +527,7 @@ jobs:
518
527
chromedriver --port=4444 --trace-buffer-size=100000 &
519
528
bash ci/run_rendering_test.sh web
520
529
521
- - uses : actions/upload-artifact@v3
530
+ - uses : actions/upload-artifact@v4
522
531
if : failure()
523
532
with :
524
533
name : debug-golden-files
0 commit comments