Skip to content

Commit fec4ed2

Browse files
committed
use mxcl/xcodebuild
1 parent 6e78d93 commit fec4ed2

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,20 @@ jobs:
1616
- run: git diff --exit-code
1717

1818
apple:
19-
runs-on: macos-10.15
19+
runs-on: macos-latest
2020
strategy:
2121
matrix:
22-
destination:
23-
- platform=iOS Simulator,OS=latest,name=iPhone 12
24-
- platform=tvOS Simulator,OS=latest,name=Apple TV
25-
# - platform=watchOS Simulator,OS=latest,name=Apple Watch Series 5 - 40mm
26-
# ^^ coming with Xcode 12.5 which is not yet available on GHA
27-
- platform=macOS
22+
platform:
23+
- iOS
24+
- tvOS
25+
- macOS
26+
- watchOS
2827
steps:
2928
- uses: actions/checkout@v2
30-
- uses: maxim-lobanov/setup-xcode@v1
31-
with:
32-
xcode-version: 12.4
33-
- run: swift package generate-xcodeproj --enable-code-coverage
34-
- uses: sersoft-gmbh/xcodebuild-action@v1
29+
- uses: mxcl/xcodebuild@v1
3530
with:
36-
project: Path.swift.xcodeproj
37-
scheme: Path.swift-Package
38-
destination: ${{ matrix.destination }}
39-
action: test
31+
platform: ${{ matrix.platform }}
32+
code-coverage: true
4033
- uses: codecov/codecov-action@v1
4134

4235
linux-swift-4:

0 commit comments

Comments
 (0)