Skip to content

Commit 708ab87

Browse files
committed
Update CI to test on iPhone SE and iPad pro, Xcode 13 and 14
1 parent 13ccb56 commit 708ab87

File tree

1 file changed

+3
-41
lines changed

1 file changed

+3
-41
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
matrix:
2222
run-config:
2323
- { xcode_version: '14.1', simulator: 'name=iPad Pro (12.9-inch) (5th generation),OS=16.1' }
24+
- { xcode_version: '14.1', simulator: 'name=iPhone SE (3nd generation),OS=16.1' }
2425
steps:
2526
- name: Checkout Project
2627
uses: actions/checkout@v1
@@ -57,8 +58,7 @@ jobs:
5758
strategy:
5859
matrix:
5960
run-config:
60-
- { xcode_version: '11.7', simulator: 'name=iPhone SE (2nd generation),OS=13.7' }
61-
- { xcode_version: '12.5.1', simulator: 'name=iPhone SE (2nd generation),OS=14.5' }
61+
- { xcode_version: '13.0', simulator: 'name=iPhone SE (2nd generation),OS=15.0' }
6262
- { xcode_version: '13.0', simulator: 'name=iPad Pro (12.9-inch) (5th generation),OS=15.0' }
6363
steps:
6464
- name: Checkout Project
@@ -89,42 +89,4 @@ jobs:
8989
run: xcrun simctl list
9090

9191
- name: Build & Test
92-
run: ./scripts/ci.sh "${{ matrix.run-config['simulator'] }}"
93-
94-
build_xcode10:
95-
runs-on: macos-10.15
96-
strategy:
97-
matrix:
98-
run-config:
99-
- { xcode_version: '10.3', simulator: 'name=iPad (5th generation),OS=12.4' }
100-
- { xcode_version: '10.3', simulator: 'name=iPhone 8,OS=12.4' }
101-
steps:
102-
- name: Checkout Project
103-
uses: actions/checkout@v1
104-
105-
- name: Brew Update
106-
run: brew update
107-
108-
- name: Install Bundler
109-
run: gem install bundler
110-
111-
- name: Install Core Utils
112-
run: if [ -z "$(brew ls --versions coreutils)" ] ; then brew install coreutils ; fi
113-
114-
- name: Install XCPretty
115-
run: gem install xcpretty --no-document --quiet
116-
117-
- name: Show Xcode versions
118-
run: ls -al /Applications/Xcode*
119-
120-
- name: Select Xcode
121-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.run-config['xcode_version'] }}.app
122-
123-
- name: Current Xcode Selected
124-
run: xcode-select -p
125-
126-
- name: List Simulators
127-
run: xcrun simctl list
128-
129-
- name: Build & Test
130-
run: ./scripts/ci.sh "${{ matrix.run-config['simulator'] }}"
92+
run: ./scripts/ci.sh "${{ matrix.run-config['simulator'] }}"

0 commit comments

Comments
 (0)