forked from Nextdoor/corridor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
41 lines (40 loc) · 952 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: 2
jobs:
swiftlint:
docker:
- image: norionomura/swiftlint
steps:
- checkout
- run: swiftlint
tests:
macos:
xcode: "11.3.1"
steps:
- checkout
- run: swift test
docs:
macos:
xcode: "11.3.1"
steps:
- add_ssh_keys:
fingerprints:
- "74:2b:16:33:e7:f0:c7:70:17:9c:a3:b5:0f:11:2e:03"
- checkout
- run:
name: Docs
command: |
sudo gem install jazzy
swift package generate-xcodeproj
git checkout gh-pages
git show master:README.md > README.md
jazzy
git config --global user.email "docs@nextdoor.com"
git config --global user.name "Docs"
git add README.md docs && git commit -m "Update docs [ci skip]" && git push origin gh-pages -f
workflows:
version: 2
corridor:
jobs:
- swiftlint
- tests
- docs