Merge pull request #70 from mxcl/ci/mxcl/xcodebuild
use mxcl/xcodebuild
This commit is contained in:
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
@@ -16,27 +16,20 @@ jobs:
|
|||||||
- run: git diff --exit-code
|
- run: git diff --exit-code
|
||||||
|
|
||||||
apple:
|
apple:
|
||||||
runs-on: macos-10.15
|
runs-on: macos-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
destination:
|
platform:
|
||||||
- platform=iOS Simulator,OS=latest,name=iPhone 12
|
- iOS
|
||||||
- platform=tvOS Simulator,OS=latest,name=Apple TV
|
- tvOS
|
||||||
# - platform=watchOS Simulator,OS=latest,name=Apple Watch Series 5 - 40mm
|
- macOS
|
||||||
# ^^ coming with Xcode 12.5 which is not yet available on GHA
|
- watchOS
|
||||||
- platform=macOS
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: maxim-lobanov/setup-xcode@v1
|
- uses: mxcl/xcodebuild@v1
|
||||||
with:
|
with:
|
||||||
xcode-version: 12.4
|
platform: ${{ matrix.platform }}
|
||||||
- run: swift package generate-xcodeproj --enable-code-coverage
|
code-coverage: true
|
||||||
- uses: sersoft-gmbh/xcodebuild-action@v1
|
|
||||||
with:
|
|
||||||
project: Path.swift.xcodeproj
|
|
||||||
scheme: Path.swift-Package
|
|
||||||
destination: ${{ matrix.destination }}
|
|
||||||
action: test
|
|
||||||
- uses: codecov/codecov-action@v1
|
- uses: codecov/codecov-action@v1
|
||||||
|
|
||||||
linux-swift-4:
|
linux-swift-4:
|
||||||
|
|||||||
Reference in New Issue
Block a user