Skip to content

Commit db261d9

Browse files
committed
Update swift.yml
Signed-off-by: David Nadoba <[email protected]>
1 parent 098bb3e commit db261d9

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/swift.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ on:
88

99
jobs:
1010
test-on-macOS-and-iOS:
11-
runs-on: macos-latest
11+
runs-on: macos-11
1212
strategy:
1313
matrix:
14-
xcode: ['13.0']
15-
env:
16-
DEVELOPER_DIR: /Applications/Xcode_13.0.app/Contents/Developer
14+
xcode: ['12.5.1', '13.0']
15+
1716
steps:
18-
1917
- uses: actions/checkout@v2
18+
- uses: maxim-lobanov/setup-xcode@v1
19+
with:
20+
xcode-version: ${{ matrix.xcode }}
2021
- name: Test on iOS Simulator
2122

2223
run: >
@@ -38,9 +39,16 @@ jobs:
3839
-destination 'platform=macOS'
3940
4041
performance-tests-on-macOS:
41-
runs-on: macos-latest
42+
runs-on: macos-11
43+
strategy:
44+
matrix:
45+
xcode: ['12.5.1', '13.0']
46+
4247
steps:
4348
- uses: actions/checkout@v2
49+
- uses: maxim-lobanov/setup-xcode@v1
50+
with:
51+
xcode-version: ${{ matrix.xcode }}
4452
- name: Build & Run Performance Tests on macOS
4553
env:
4654
DEVELOPER_DIR: ${{ matrix.xcode }}

0 commit comments

Comments
 (0)