Skip to content

Commit 2bbb3d5

Browse files
authored
Create swift.yml
1 parent 69f2cd4 commit 2bbb3d5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/swift.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Swift
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
name: Build and test on ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [macos-latest]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Build
19+
run: swift build --build-tests --enable-test-discovery -c release
20+
- name: Run tests
21+
run: swift test --skip-build --enable-test-discovery -c release

0 commit comments

Comments
 (0)