mirror of
https://github.com/apple/swift-nio
synced 2026-11-30 05:28:44 +00:00
Motivation: Now that Swift 5 is released, we should use the release version. Modifications: switch to Swift 5.0-RELEASE. Result: newer, shinier
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-nio:18.04-5.0
|
|
build:
|
|
args:
|
|
ubuntu_version: "18.04"
|
|
swift_version: "5.0"
|
|
skip_ruby_from_ppa: "true"
|
|
|
|
unit-tests:
|
|
image: swift-nio:18.04-5.0
|
|
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors"
|
|
|
|
integration-tests:
|
|
image: swift-nio:18.04-5.0
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=31200
|
|
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=1177050 # was: 685050
|
|
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4600
|
|
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2100
|
|
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=99100
|
|
|
|
test:
|
|
image: swift-nio:18.04-5.0
|
|
command: /bin/bash -cl "swift test -Xswiftc -warnings-as-errors && ./scripts/integration_tests.sh"
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_1000_reqs_1_conn=31200
|
|
- MAX_ALLOCS_ALLOWED_1_reqs_1000_conn=1177050 # was: 685050
|
|
- MAX_ALLOCS_ALLOWED_ping_pong_1000_reqs_1_conn=4600
|
|
- MAX_ALLOCS_ALLOWED_bytebuffer_lots_of_rw=2100
|
|
- MAX_ALLOCS_ALLOWED_future_lots_of_callbacks=99100
|
|
|
|
echo:
|
|
image: swift-nio:18.04-5.0
|
|
|
|
http:
|
|
image: swift-nio:18.04-5.0
|