35 Commits

Author SHA1 Message Date
Yim Lee
78d6cc4942
Add docker-compose file for Swift 5.9 (#198) 2023-04-13 09:44:52 +01:00
Cory Benfield
0e0d0aab66
Fix documentation and add support for CI-ing it (#196)
* Fix documentation and add support for CI-ing it

* Soundness cleanup
2023-04-11 11:25:17 +01:00
George Barnett
98378d1fe5
Remove Jazzy doc generation (#191)
Motivation:

Docs are generated by and hosted on the Swift Package Index. We no
longer need the script to generate docs via Jazzy.

Modifications:

- Remove the generate_docs script
- Remove Jazzy from the Dockerfile but keep Ruby; it's used for
  generating test manifests.
- Remove SwiftFormat from the Dockerfile; we don't use it.

Result:

Fewer unused things.
2023-01-23 15:43:51 +00:00
David Nadoba
e4efedbf47
Add Swift 5.8 CI and update nightly CI to Ubuntu 22.04 (#190)
* Add Swift 5.8 CI
@dnadoba

* Update nightly CI to Ubuntu 22.04

* Run `generate_linux_tests.rb`
2023-01-18 09:15:17 +01:00
George Barnett
55f37f388c
Raise minimum supported Swift version from 5.4 to 5.5 (#180)
Motivation:

SwiftNIO periodically drops support for older Swift versions. Now that
5.7 has been released, 5.4 will be dropped.

Modifications:

- Remove 5.4 specific Package.swift and docker-compose
- Update the 5.7 docker-compose to use the released 5.7 and move from
  focal (2004) to jammy (2204)
- Update docs

Results:

Minimum Swift version is 5.5
2022-09-29 09:21:17 +01:00
Cory Benfield
9697a611c4
Validate missing imports in CI (#171) 2022-08-16 01:19:37 -07:00
Peter Adams
f4359b987d
Prepare for docc (#167)
Motivation:

Publishing docs is a good thing.

Modifications:

Update Package.swift to allow docc documentation to be generated.

Result:

It is possible to generate docc docs.
2022-08-01 14:21:15 +01:00
Cory Benfield
8e4f5cfdec
Use 5.7 nightlies (#164) 2022-06-13 04:17:06 -07:00
Fabian Fett
59971a8c69
Drop support for Swift 5.2 and 5.3 (#154)
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.
2022-04-21 08:49:12 +02:00
tomer doron
344a517828
ci update (#152)
motivation: 5.6 is out

changes:
* use release version of 5.6
* add docker setup for 5.7 (using nightly for now)
2022-03-16 21:18:47 -07:00
Cory Benfield
e07c67c9b4
Add 5.6 nightly CI (#151)
The 5.6 nightly images are available, let's use them.
2022-01-18 09:38:36 +00:00
Cory Benfield
06033450fb
Update to 5.5 release in CI (#147) 2021-09-22 09:27:42 +01:00
tomer doron
a39213b640
update docker to always install ruby as it is used by some scripts (#142) 2021-09-02 17:47:51 +01:00
tomer doron
5fbe51af53
fix doc generation and jazzy version (#141)
motivation: fix ci

changes:
* only install ruby and jazzy on focal since jazzy id not supported onlder versions of ubuntu
* fix doc generations script adjusting it to latest source-kittent syntax
2021-09-02 09:14:11 +01:00
David Evans
c67aa046e5
Remove support for Swift 5.0 and 5.1 (#138)
Changes made:

Removed CI config for 5.0 ad 5.1
Changed 5.2 to be based on 16.04 so we have some coverage there
Converted Package.swift to the latest syntax
Added a description to supported Swift versions in the README
2021-06-22 18:07:01 +01:00
David Evans
b8e150416a
Add docker yaml (#129) 2021-06-03 12:28:19 +01:00
Johannes Weiss
0d0af4edd8
docker setup for main nightlies (#119) 2021-05-04 21:21:03 +01:00
Johannes Weiss
9666712c1d
docker: use 5.4 release instead of nightly (#123) 2021-05-04 16:23:33 +01:00
Fabian Fett
e4bbe79d7e
Use welcoming language (#112) 2021-01-22 08:49:59 +00:00
Cory Benfield
5258afd617
This repository now uses main. (#109) 2020-09-24 16:28:47 +01:00
Cory Benfield
2233123ee7
Swift 5.3-RELEASE is here, let's use it (#108) 2020-09-21 10:08:01 +01:00
Peter Adams
85f13dd3ba
Don't install jazzy on xenial (#95)
Motivation:

Ubuntu 16 ruby is too old to support latest cocoapods gem.

Modifications:

Don't install jazzy when on xenial

Result:

Docker image will now build - you need to use bionic images to build documentation.
2020-07-21 16:05:29 +01:00
Johannes Weiss
5e234667a9
fix docker setup (#86)
Motivation:

We were missing the 5.2 & 5.3 docker compose files and also the syntax
wasn't flexible enough to pull in the new nightlies.

Modifications:

- always specify the full image name
- add 5.2 & 5.3

Result:

More CI & newer Swifts.
2020-04-17 18:40:39 +01:00
tomer doron
64cb1e3bbb
add doc generation script (#80)
motivation: publish api docs for helper modules

changes
* add doc publishing script
* add "shell" docker-compose task to help run document publishing from ci

Co-authored-by: Johannes Weiss <johannesweiss@apple.com>
2020-03-03 10:33:33 +00:00
tomer doron
57c869c174
improve docker security (#77)
motivation: more secured ci setup

changes:
* enable :z selinux flag on bind mounts so we can enable selinux on ci
* drop potentially exploitable capabilities from docker-compose
2020-02-04 10:25:56 +00:00
Thomas Krajacic
6d452710b2 Clean up test command in docker config files (#70) 2019-10-30 12:53:35 +01:00
Thomas Krajacic
12ed4f0f43 Add --sanitize=thread to test invocation (#68) 2019-10-30 10:15:09 +01:00
Johannes Weiss
4a5cd66d63 test runner: add -x to bash invocations (#67)
Motivation:

It's important to see the commands that are run in CI.

Modification:

Add -x to the bash invocations.

Result:

More clarity on what is run.
2019-10-26 02:52:39 -07:00
tomer doron
a8382b8f67 update docker setup (#66)
motivation: use official docker images, fix swift 5.1 ci

changes:
* use official docker images
* include zlib1g-dev since its required for 5.1 ci
2019-10-26 02:34:18 -07:00
Johannes Weiss
f2b9696306 cleanup CI (#63) 2019-10-25 17:10:09 -07:00
Johannes Weiss
3431d30113 use Swift 5.0 release (#42) 2019-03-26 11:19:43 +00:00
Johannes Weiss
f32f6cac79
enable warnings as errors (#34)
Motivation:

warnings as errors is good

Modifications:

add warnings as errors

Result:

no more warnings
2019-03-08 18:21:47 +00:00
tomer doron
24c1e12ad2 fix docker setup for swift 5 (#27)
motivation: build on swift 5

changes:
* fix test task defition to use correct image
* remove redundant jazzy setup
2019-02-26 11:27:35 +00:00
Johannes Weiss
f7cc6c3db5
Swift 5 docker-compose stuff (#25) 2019-02-24 20:22:04 +00:00
Johannes Weiß
2516d61aee
add docker setup (#4)
Motivation:

We need the docker setup for CI.

Modifications:

Added docker setup. Started with swift-nio's setup and then removed
everything that we don't need (test, http, echo, integration-tests).

Result:

We can move forward doing CI.
2018-05-22 10:31:13 +01:00