mirror of
https://github.com/apple/swift-log
synced 2026-11-23 03:44:22 +00:00
motivation: prepare to release changes: * add docker setup * fix tests to pass correctly on linux * add sanity scripts to make sure linux tests are present * add doc generation scripts * fix few naming mistakes in collateral
29 lines
625 B
YAML
29 lines
625 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.50.yaml run test
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-log:default
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
|
|
common: &common
|
|
image: swift-log:default
|
|
depends_on: [runtime-setup]
|
|
volumes:
|
|
- ~/.ssh:/root/.ssh
|
|
- ..:/code
|
|
working_dir: /code
|
|
|
|
sanity:
|
|
<<: *common
|
|
command: /bin/bash -cl "./scripts/sanity.sh"
|
|
|
|
test:
|
|
<<: *common
|
|
command: /bin/bash -cl "swift test"
|