mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Motivation: We always care most about the latest released Swift version. Therefore I added allocation limits for Swift 4.2 and indicated that the old ones can be removed as soon as they change. Modifications: - added allocation limits for Swift 4.2 - added a comment to the old ones that they don't need to be changed anymore now Result: - best support for best version - document that Swift 4.2 is awesome, lots fewer allocations!
39 lines
992 B
YAML
39 lines
992 B
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-nio:18.04-4.2
|
|
build:
|
|
args:
|
|
ubuntu_version : "18.04"
|
|
swift_version : "4.2"
|
|
skip_ruby_from_ppa : "true"
|
|
|
|
unit-tests:
|
|
image: swift-nio:18.04-4.2
|
|
|
|
integration-tests:
|
|
image: swift-nio:18.04-4.2
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=36750
|
|
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=698050
|
|
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4600
|
|
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2150
|
|
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=99100
|
|
|
|
test:
|
|
image: swift-nio:18.04-4.2
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=36750
|
|
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=698050
|
|
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4600
|
|
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2150
|
|
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=99100
|
|
|
|
echo:
|
|
image: swift-nio:18.04-4.2
|
|
|
|
http:
|
|
image: swift-nio:18.04-4.2
|