Drop support for Swift 5.2 and 5.3 (#19)

As outlined in a [Swift forums post in November ’21](https://forums.swift.org/t/swiftnio-swift-version-support/53232), SwiftNIO will only support the latest non-patch Swift release and the 2 immediately prior non-patch versions.

- drop support for Swift 5.2 and 5.3. 
- update CI for Swift 5.4 to run on bionic instead of focal to ensure that we still test bionic.
This commit is contained in:
Fabian Fett authored and GitHub committed 2022-04-21 10:22:11 +02:00
1 parent 5fa0988b37
commit 1494d9edfa
7 files changed
+23 -64

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# file options
--swiftversion 5.2
--swiftversion 5.4
--exclude .build
# format options
+1 -1
View File
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.4
//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
+1 -1
View File
@@ -1,4 +1,4 @@
ARG swift_version=5.2
ARG swift_version=5.4
ARG ubuntu_version=bionic
ARG base_image=swift:$swift_version-$ubuntu_version
FROM $base_image
-21
View File
@@ -1,21 +0,0 @@
version: "3"
services:
runtime-setup:
image: swift-http-structured-headers:16.04-5.2
build:
args:
ubuntu_version: "xenial"
swift_version: "5.2"
unit-tests:
image: swift-http-structured-headers:16.04-5.2
test:
image: swift-http-structured-headers:16.04-5.2
environment:
- SANITIZER_ARG=--sanitize=thread
shell:
image: swift-http-structured-headers:16.04-5.2
-20
View File
@@ -1,20 +0,0 @@
version: "3"
services:
runtime-setup:
image: swift-http-structured-headers:18.04-5.3
build:
args:
ubuntu_version: "bionic"
swift_version: "5.3"
unit-tests:
image: swift-http-structured-headers:18.04-5.3
test:
image: swift-http-structured-headers:18.04-5.3
shell:
image: swift-http-structured-headers:18.04-5.3
+20
View File
@@ -0,0 +1,20 @@
version: "3"
services:
runtime-setup:
image: swift-http-structured-headers:18.04-5.4
build:
args:
ubuntu_version: "bionic"
swift_version: "5.4"
unit-tests:
image: swift-http-structured-headers:18.04-5.4
test:
image: swift-http-structured-headers:18.04-5.4
shell:
image: swift-http-structured-headers:18.04-5.4
-20
View File
@@ -1,20 +0,0 @@
version: "3"
services:
runtime-setup:
image: swift-http-structured-headers:20.04-5.4
build:
args:
ubuntu_version: "focal"
swift_version: "5.4"
unit-tests:
image: swift-http-structured-headers:20.04-5.4
test:
image: swift-http-structured-headers:20.04-5.4
shell:
image: swift-http-structured-headers:20.04-5.4