30 Commits
Author SHA1 Message Date
Cory Benfield 044f90dfa0 Migrate to Swift 5.5 release in CI (#324) 2021-09-22 09:23:20 +01:00
George Barnett bf4b24679a Fix doc generation and jazzy version (#1950) (#313)
From: https://github.com/apple/swift-nio-extras/pull/141

Motivation:

The combination of Ruby and Jazzy are throwing up issues in CI on older
Ubuntu versions.

Modifications:

- Only install Jazzy on focal
- Fix doc generation script to use more recent source-kitten syntax

Results:

- CI doesn't complain
- Docs get built
2021-09-03 14:25:19 +01:00
David Evans 9317691e7e Remove support for Swift 5.0 and 5.1 (#302)
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:29:52 +01:00
Johannes Weiss 597f4ac6bf add Swift 5.5 job (#292) 2021-05-05 07:38:01 +01:00
Johannes Weiss 266a083bd8 docker: use 5.4 release instead of nightly (#291) 2021-05-04 16:59:10 +01:00
Cory Benfield 07c160b872 Add a correct docker-compose file for nightly (#283) 2021-03-17 13:22:55 +00:00
Johannes WeissandCory Benfield 9a1c88ef0e docker setup for main nightlies (#272)
* docker setup for main nightlies

* Update docker-compose.2004.main.yaml

Co-authored-by: Cory Benfield <lukasa@apple.com>
2021-03-17 11:22:36 +00:00
Johannes Weiss b986e0cefb Swift 5.4 Docker setup (#270) 2021-02-28 13:40:24 +00:00
Fabian Fett 00c264d7a5 Use welcoming language (#265) 2021-01-22 13:46:59 +00:00
Cory Benfield 4c66baf51d We use the main branch now. (#243) 2020-09-25 20:25:03 +01:00
Cory Benfield 3f26a3e8a1 Swift 5.3-RELEASE is out, let's use it. (#241) 2020-09-21 10:07:16 +01:00
Peter Adams 7efa8a714f Don't install Jazzy on Xenial (#234)
Motivation:

Ruby on Xenial is too old for the cocoapods downloader which jazzy uses.

Modifications:

Change Dockerfile to not install Jazzy on xenial.

Result:

Dockerfile will build again, but bionic or later is required for docs.
2020-07-21 18:05:48 +01:00
tomer doron 67303bd6d8 improve 5.3 docker setup (#214)
motivation: pin to 5.3 nighties 

changes: use swiftlang/swift:nightly-5.3-master-bionic instead of swiftlang/swift:nightly-master-bionic
2020-05-05 08:49:53 +01:00
Cory Benfield f02ae1bd04 Fix broken docker installation (#209) 2020-05-01 07:11:37 +01:00
tomer doron 0499d739b4 improve docker security (#178)
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-01 07:39:32 +00:00
Cory Benfield b015dcbe87 Add regression limits for allocation tests. (#160)
Motivation:

We missed these out, which means we failed to detect the massive
allocation win in #159.

Modifications:

Correctly add allocation limits.

Result:

We'll know if we regress.
2019-12-04 17:06:24 +00:00
tomer doron e5c7a18a91 add harness for performance tests (#156)
motivation: run performance tests 🎉

changes: add performance-test task in docker-compose setup, add script to analyze performance results to be used in CI
2019-12-02 09:20:11 +00:00
Cory Benfield f2ac69d154 Add regression test for executable stacks. (#152)
Motivation:

We want the CI to make sure we don't accidentally regress the executable
stack property of the binary.

Modifications:

Run execstack against our build output in the integration tests.

Result:

We shouldn't regress the executable stacks.
2019-11-26 09:50:39 +00:00
Johannes Weiss c277611ec3 enable TSan in CI (#145) 2019-10-25 01:28:55 -07:00
tomer doron 0ec8dcf248 api breakage detection (#138)
motivation: test for api breakage on PR

changes:

* add script to detect api breakage
* amend docker setup to include jq
* amend docker-compose setup to include a shell utility task
2019-10-07 15:00:16 -07:00
tomer doron 71aa686d58 swift 5.1 docker setup (#133)
* swift 5.1 docker setup

motivation: support swift 5.1

changes:
* use formal swift docker images
* refactor docker-compose to seperate unit tests, integration tests and full test suites
* add docker compose file for swift 5.1, will add CI job once merged
* update swiftformat version to 0.40.12
2019-09-24 20:51:18 +01:00
Johannes Weiss a5839aa4e6 run integration tests in CI (#114) 2019-06-27 15:12:47 +01:00
tomer doron 47d971e136 add doc generation script (#91)
motivation: publish API docs

changes:

amend docker file to include jazzy
add doc generation script based on what we have in swift-nio and swift-log
2019-03-27 08:38:30 +00:00
Johannes Weiss 769e8cbcfc use Swift 5.0 release (#90) 2019-03-26 11:20:36 +00:00
Cory Benfield 5995ce5eac Remove the static target from regular Package.swift. (#85)
Motivation:

We have a static library target that is used as part of the BoringSSL
vendoring setup to generate a list of hidden symbols. This works nicely,
but building it fires out a bunch of warnings due to files with no symbols
in them. That's fine during the build phase, but most developers should
never need to see it.

Modifications:

- Hide the static archive product most of the time.
- Update vendor script to un-hide the static archive product on vendoring.
- Enable warnings-as-errors.

Result:

Fewer warnings.
2019-03-13 16:34:56 +00:00
Cory Benfield 73c83809d6 Update Swift 5 version for CI (#67) 2019-02-20 12:54:36 +00:00
Cory Benfield 99501be40c Update the Swift 5 CI version. (#66)
Motivation:

The older Swift 5 we're using in CI breaks on our Package.swift. This
rather limits the utility of our CI.

Modifications:

Use a newer Swift 5 snapshot.

Result:

CI will actually work.
2019-01-25 11:39:24 +00:00
tomer doron 495ca1bf0f add docker compose setup for swift 5
motivation: move development to swift 5

changes:
* add docker compose file for swift 5
* adjust dockerfile to support how swift 5 is distributed
2019-01-22 14:30:31 -08:00
tomer doron 953b73818f add support for muliple build architectures and swift versions with docker compose (#33)
motivation: easier testing on different architectures and swift versions

changes:
* update dockerfile to match more closely what we do in swift-nio, including support for extenral versions of ubuntu and swift
* add docker-compose files representing different permutations of ubuntu and swift versions
2018-09-10 09:23:04 +01:00
tomer doron c73f4180ce prepare ci scripts (#7)
Motivation:

set up continuous integration

Modifications:

add docker file to include all dependencies required for build and tests

Result:

able to set up docker based continuous integration
2018-02-26 18:25:54 -08:00