mirror of
https://github.com/swift-server/swift-openapi-async-http-client.git
synced 2026-05-03 07:42:29 +00:00
19b8e98a0a
### Motivation The repo is public now. There is no need for the workaround anymore. ### Modifications Remove gitconfig workaround added in https://github.com/swift-server/swift-openapi-async-http-client/pull/3
39 lines
867 B
YAML
39 lines
867 B
YAML
# NOTE: This file is not designed to be run independently.
|
|
#
|
|
# Instead, use it with a file for a specific OS and Swift version, for example:
|
|
#
|
|
# % docker-compose \
|
|
# -f docker/docker-compose.yaml \
|
|
# -f docker/docker-compose.2204.58.yaml \
|
|
# run test
|
|
#
|
|
version: "3"
|
|
|
|
services:
|
|
runtime-setup:
|
|
image: &image swift-openapi-ahc:default
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
|
|
common: &common
|
|
image: *image
|
|
depends_on: [runtime-setup]
|
|
volumes:
|
|
- ~/.ssh:/root/.ssh
|
|
- ..:/code:z
|
|
working_dir: /code
|
|
|
|
soundness:
|
|
<<: *common
|
|
command: /bin/bash -xcl "swift -version && uname -a && ./scripts/soundness.sh"
|
|
|
|
test:
|
|
<<: *common
|
|
command: /bin/bash -xcl "swift $${SWIFT_TEST_VERB-test} $${WARN_AS_ERROR_ARG-} $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
|
|
|
|
shell:
|
|
<<: *common
|
|
entrypoint: /bin/bash
|
|
|