Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixHerrmann committed Aug 15, 2021
2 parents dcb17ad + 989571c commit e3da64d
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .github/workflows/xcodebuild.yml
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

0 comments on commit e3da64d

Please sign in to comment.