Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run thread sanitizer (TSan) job on CI #1944

Merged
merged 1 commit into from Nov 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions circle.yml
@@ -1,6 +1,16 @@
version: 2
jobs:

tsan:
macos:
xcode: "9.0"
steps:
- checkout
# Pre-cache
- run: swift run -Xswiftc -sanitize=thread swiftlint lint --lenient
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use --enable-all-rules?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe 🤔. Individual rules really shouldn't be doing anything that would cause thread sanitizer violations though.

# Post-cache
- run: swift run -Xswiftc -sanitize=thread swiftlint lint --lenient

osscheck:
macos:
xcode: "9.0"
Expand Down Expand Up @@ -43,6 +53,7 @@ workflows:
version: 2
workflow:
jobs:
- tsan
- osscheck
- swiftpm_4
- xcode_9
Expand Down