mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-27 05:04:23 +00:00
Motivation: The type inference system isn't able to work out the default clock type in the DOSHeuristics init on Swift 5.6 so this change makes it more explicit Modifications: Add more explicit inits Result: The code should build on 5.6 and later
53 lines
1.9 KiB
YAML
53 lines
1.9 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-nio-http2:20.04-5.6
|
|
build:
|
|
args:
|
|
ubuntu_version: "focal"
|
|
swift_version: "5.6"
|
|
h2spec_version: "2.2.1"
|
|
|
|
unit-tests:
|
|
image: swift-nio-http2:20.04-5.6
|
|
|
|
integration-tests:
|
|
image: swift-nio-http2:20.04-5.6
|
|
|
|
performance-test:
|
|
image: swift-nio-http2:20.04-5.6
|
|
|
|
h2spec:
|
|
image: swift-nio-http2:20.04-5.6
|
|
|
|
documentation-check:
|
|
image: swift-nio-http2:20.04-5.6
|
|
|
|
test:
|
|
image: swift-nio-http2:20.04-5.6
|
|
environment:
|
|
- MAX_ALLOCS_ALLOWED_1k_requests_inline_interleaved=35150
|
|
- MAX_ALLOCS_ALLOWED_1k_requests_inline_noninterleaved=34100
|
|
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=41150
|
|
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=40100
|
|
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=296050
|
|
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response_inline=273050
|
|
- MAX_ALLOCS_ALLOWED_client_server_request_response=265050
|
|
- MAX_ALLOCS_ALLOWED_client_server_request_response_inline=248050
|
|
- MAX_ALLOCS_ALLOWED_client_server_request_response_many=1210050
|
|
- MAX_ALLOCS_ALLOWED_client_server_request_response_many_inline=893050
|
|
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=39050
|
|
- MAX_ALLOCS_ALLOWED_create_client_stream_channel_inline=39050
|
|
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=200050
|
|
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace=200050
|
|
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_long_string=300050
|
|
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=200050
|
|
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
|
|
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=293050
|
|
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent_inline=291750
|
|
|
|
shell:
|
|
image: swift-nio-http2:20.04-5.6
|