-
Notifications
You must be signed in to change notification settings - Fork 419
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 CI on both Swift 4.2 and 5, and fix Swift 5 warning #426
Conversation
Fixes a warning when compiling with Swift 5: > 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(…)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we need to update CI to use Swift 5:
Line 35 in ece94e8
SWIFT_URL=https://swift.org/builds/swift-4.1.1-release/ubuntu1404/swift-4.1.1-RELEASE/swift-4.1.1-RELEASE-ubuntu14.04.tar.gz |
Looks like a CI flake, re-running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just two minor remarks.
Also, if we now run twice as many CI jobs, flakes might occur more frequently. If that is the case, we might want to pay more attention to them.
Comments addressed, Daniel approved
Sounds good. Going to go ahead and merge. |
Fixes a warning when compiling with Swift 5:
Also updates CI to run tests on both Swift 4.2 and Swift 5.0.