Skip to content

Commit

Permalink
Created Build script
Browse files Browse the repository at this point in the history
  • Loading branch information
eleev authored Jan 2, 2020
1 parent eb673e4 commit 8f9deae
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build
on: [push]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1

- name: Switch to Xcode 11
run: sudo xcode-select --switch /Applications/Xcode_11.3.app
# Since we want to be running our tests from Xcode, we need to
# generate an .xcodeproj file. Luckly, Swift Package Manager has
# build in functionality to do so.
- name: Generate xcodeproj
run: swift package generate-xcodeproj
- name: Run tests
run: xcodebuild test -destination 'name=iPhone 11' -scheme 'ConstraintsKit-Package'

0 comments on commit 8f9deae

Please sign in to comment.