Skip to content

Commit

Permalink
Add Build on Xcode workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stleamist committed Jan 20, 2021
1 parent 7cadb83 commit 75daf0c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/xcode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build on Xcode

on:
push:
branches: '**'
pull_request:
branches: '**'

jobs:
build:
name: Build ${{ matrix.scheme }} for ${{ matrix.sdk }}
runs-on: macos-latest

strategy:
matrix:
scheme: [BetterSafariView]
sdk: [iphoneos, macosx, watchos]
include:
- scheme: BetterSafariViewDemo (iOS)
sdk: iphonesimulator
- scheme: BetterSafariViewDemo (macOS)
sdk: macosx

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build ${{ matrix.scheme }} for ${{ matrix.sdk }}
run: xcodebuild build-for-testing -scheme "${{ matrix.scheme }}" -sdk "${{ matrix.sdk }}"

0 comments on commit 75daf0c

Please sign in to comment.