-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/master'
- Loading branch information
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Xcode Build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-macos: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build macOS | ||
run: xcodebuild -scheme FHDiffableViewControllers -destination 'variant=Mac Catalyst' | ||
- name: Run macOS tests | ||
run: xcodebuild -scheme FHDiffableViewControllers -destination 'variant=Mac Catalyst' test | ||
|
||
build-ios: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build iOS | ||
run: xcodebuild -scheme FHDiffableViewControllers -sdk iphoneos -destination 'name=iPhone 12' | ||
- name: Run iOS tests | ||
run: xcodebuild -scheme FHDiffableViewControllers -sdk iphoneos -destination 'name=iPhone 12' test | ||
|
||
build-ios-simulator: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build iOS | ||
run: xcodebuild -scheme FHDiffableViewControllers -sdk iphonesimulator -destination 'name=iPhone 12' | ||
- name: Run iOS tests | ||
run: xcodebuild -scheme FHDiffableViewControllers -sdk iphonesimulator -destination 'name=iPhone 12' test | ||
|
||
build-tvos: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build iOS | ||
run: xcodebuild -scheme FHDiffableViewControllers -sdk appletvos -destination 'name=Apple TV' | ||
- name: Run iOS tests | ||
run: xcodebuild -scheme FHDiffableViewControllers -sdk appletvos -destination 'name=Apple TV' test | ||
|
||
build-tvos-simulator: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build iOS | ||
run: xcodebuild -scheme FHDiffableViewControllers -sdk appletvsimulator -destination 'name=Apple TV' | ||
- name: Run iOS tests | ||
run: xcodebuild -scheme FHDiffableViewControllers -sdk appletvsimulator -destination 'name=Apple TV' test |