Skip to content

Commit 8f9deae

Browse files
authored
Created Build script
1 parent eb673e4 commit 8f9deae

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/Build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Build
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: macOS-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
9+
- name: Switch to Xcode 11
10+
run: sudo xcode-select --switch /Applications/Xcode_11.3.app
11+
# Since we want to be running our tests from Xcode, we need to
12+
# generate an .xcodeproj file. Luckly, Swift Package Manager has
13+
# build in functionality to do so.
14+
- name: Generate xcodeproj
15+
run: swift package generate-xcodeproj
16+
- name: Run tests
17+
run: xcodebuild test -destination 'name=iPhone 11' -scheme 'ConstraintsKit-Package'

0 commit comments

Comments
 (0)