Files
swift-crypto/docker/docker-compose.yaml
T
tomer doron 6752699c99 prepare project for public CI (#2)
* prepare project for public CI

motivation: get ready to open source project

changes:
* add sanity script
* add doc generation script
* add docker and docker-compose setup
* run swiftformat
* remove generate_linux_tests.rb
* add template for github PRs
* add tempalte for git commit message
* add api-breakage detection scipt

* fixup

* format

* fixup
2019-12-19 20:53:36 +00:00

37 lines
875 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.1804.51.yaml run test
version: "3"
services:
runtime-setup:
image: swift-crypto:default
build:
context: .
dockerfile: Dockerfile
common: &common
image: swift-crypto:default
depends_on: [runtime-setup]
volumes:
- ~/.ssh:/root/.ssh
- ..:/code
working_dir: /code
sanity:
<<: *common
command: /bin/bash -xcl "./scripts/sanity.sh"
test:
<<: *common
# FIXME: get rid of existing warnings
#command: /bin/bash -xcl "swift test --enable-test-discovery -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}"
command: /bin/bash -xcl "swift test --enable-test-discovery"
# util
shell:
<<: *common
entrypoint: /bin/bash