Skip to content

Commit 72da79a

Browse files
committed
Add CI
1 parent 6354b4f commit 72da79a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
DEVELOPER_DIR: /Applications/Xcode_12.4.app
11+
12+
jobs:
13+
build:
14+
runs-on: macOS-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Build
18+
run: swift build -v
19+
20+
test:
21+
runs-on: macOS-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Test
25+
run: swift test -v
26+

0 commit comments

Comments
 (0)