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 CI on Swift 5.1 + Linux #2896

Merged
merged 3 commits into from
Oct 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
* Make `toggle_bool` rule substitution correctable.
[MaxHaertwig](https://github.com/maxhaertwig)

* Support building with Swift 5.1 on Linux.
[Marcelo Fabri](https://github.com/marcelofabri)
[#2874](https://github.com/realm/SwiftLint/issues/2874)

#### Bug Fixes

* None.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ archive:
release: package archive portable_zip

docker_test:
docker run -v `pwd`:`pwd` -w `pwd` --name swiftlint --rm norionomura/swift:42 swift test --parallel
docker run -v `pwd`:`pwd` -w `pwd` --name swiftlint --rm norionomura/swift:51 swift test --parallel

docker_htop:
docker run -it --rm --pid=container:swiftlint terencewestphal/htop || reset
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:4.0
// swift-tools-version:5.0
import PackageDescription

#if canImport(CommonCrypto)
Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
matrix:
swift50:
containerImage: swift:5.0
swift51:
containerImage: swift:5.1
container: $[ variables['containerImage'] ]
steps:
- script: swift test --parallel
Expand Down