mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-28 05:14:27 +00:00
* Add docker-compose for nightly 5.3 on bionic * Remove older swift versions * Update package to 5.3 * Fix format * Revert dockerfile version to 5.2 * Restore 5.2 * Revert swift tools version to 5.2 * Remove warnings as errors flag
38 lines
809 B
YAML
38 lines
809 B
YAML
# this file is not designed to be run directly
|
|
# instead, use the docker-compose.<os>.<swift> files
|
|
# eg docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.1604.41.yaml run test
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-nio-email:default
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
|
|
common: &common
|
|
image: swift-nio-email:default
|
|
depends_on: [runtime-setup]
|
|
volumes:
|
|
- ~/.ssh:/root/.ssh
|
|
- ..:/code:z
|
|
working_dir: /code
|
|
cap_drop:
|
|
- CAP_NET_RAW
|
|
- CAP_NET_BIND_SERVICE
|
|
|
|
sanity:
|
|
<<: *common
|
|
command: /bin/bash -xcl "./scripts/sanity.sh"
|
|
|
|
test:
|
|
<<: *common
|
|
command: /bin/bash -xcl "swift test --enable-test-discovery $${SANITIZER_ARG-}"
|
|
|
|
# util
|
|
|
|
shell:
|
|
<<: *common
|
|
entrypoint: /bin/bash
|