-
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (43 loc) · 1.03 KB
/
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
# Runner details on https://github.com/actions/runner-images/tree/main/images
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
set-up:
runs-on: ubuntu-latest
steps:
- name: Cancel
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
ios:
needs: set-up
timeout-minutes: 60
strategy:
matrix:
ios-version: [16,17]
fail-fast: false
runs-on: macos-13
steps:
- name: Check out
uses: actions/checkout@v4
- name: Setup Flutter SDK
timeout-minutes: 10
uses: subosito/flutter-action@v2
with:
channel: beta
- name: Boot ios simulator
uses: futureware-tech/simulator-action@v3
with:
model: iPhone 14 Pro Max
os_version: ^${{ matrix.ios-version }}
- name: Build example
timeout-minutes: 20
run: |
cd example
flutter build ios --no-codesign
#TODO: Integration tests
#TODO: Android