forked from realm/SwiftLint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
77 lines (69 loc) · 1.58 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 2
jobs:
analyze:
macos:
xcode: "10.1.0"
steps:
- checkout
- run: make analyze
tsan:
macos:
xcode: "10.1.0"
steps:
- checkout
# Pre-cache
- run: swift run -Xswiftc -sanitize=thread swiftlint lint --lenient
# Post-cache
- run: swift run -Xswiftc -sanitize=thread swiftlint lint --lenient
# Test
- run: make test_tsan
osscheck:
shell: /bin/bash --login -eo pipefail
macos:
xcode: "10.1.0"
steps:
- checkout
- run: echo "ruby-2.4" > ~/.ruby-version
- run: bundle install
- run: bundle exec danger --verbose
swiftpm_4.2:
macos:
xcode: "10.1.0"
steps:
- checkout
- run: swift test --parallel
xcode_10:
macos:
xcode: "10.1.0"
steps:
- checkout
- run: set -o pipefail && script/cibuild | xcpretty -r junit
- store_test_results:
path: build/reports/
cocoapods:
shell: /bin/bash --login -eo pipefail
macos:
xcode: "10.1.0"
steps:
- checkout
- run: echo "ruby-2.4" > ~/.ruby-version
- run: bundle install
- run: curl -sS https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash
- run: bundle exec pod lib lint SwiftLintFramework.podspec
linux_swift_4.2:
docker:
- image: norionomura/swift:42
steps:
- checkout
- run: swift test --parallel
workflows:
version: 2
workflow:
jobs:
- analyze
- tsan
- osscheck
- swiftpm_4.2
- xcode_10
- cocoapods
- linux_swift_4.2