mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: easier testing across different permutations of os and language versions Modifications: * update dockerfile to take both swift_version adn ubuntu_version * update default linux version to 16.04 * create multiple docker-compose files that use arguments to define os and swift versions * make docker-compose file DRYer with yaml anchors Result: users/ci can easily run tests across various versions of ubuntu and swift
26 lines
392 B
YAML
26 lines
392 B
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-nio:16.04-4.0.3
|
|
build:
|
|
args:
|
|
ubuntu_version : "16.04"
|
|
swift_version : "4.0.3"
|
|
|
|
unit-tests:
|
|
image: swift-nio:16.04-4.0.3
|
|
|
|
integration-tests:
|
|
image: swift-nio:16.04-4.0.3
|
|
|
|
test:
|
|
image: swift-nio:16.04-4.0.3
|
|
|
|
echo:
|
|
image: swift-nio:16.04-4.0.3
|
|
|
|
http:
|
|
image: swift-nio:16.04-4.0.3
|