Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Sendability checks on CI #32

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker/docker-compose.2204.57.yaml
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ services:
image: swift-memcache-gsoc:22.04-5.7
environment:
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
- STRICT_CONCURRENCY_ARG=-Xswiftc -strict-concurrency=complete
# - SANITIZER_ARG=--sanitize=thread # TSan broken still

shell:
1 change: 1 addition & 0 deletions docker/docker-compose.2204.58.yaml
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@ services:
environment:
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
- STRICT_CONCURRENCY_ARG=-Xswiftc -strict-concurrency=complete
# - SANITIZER_ARG=--sanitize=thread # TSan broken still

shell:
1 change: 1 addition & 0 deletions docker/docker-compose.2204.59.yaml
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ services:
environment:
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
- STRICT_CONCURRENCY_ARG=-Xswiftc -strict-concurrency=complete
# - SANITIZER_ARG=--sanitize=thread # TSan broken still

shell:
1 change: 1 addition & 0 deletions docker/docker-compose.2204.main.yaml
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ services:
environment:
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
- STRICT_CONCURRENCY_ARG=-Xswiftc -strict-concurrency=complete
# - SANITIZER_ARG=--sanitize=thread # TSan broken still

shell:
6 changes: 3 additions & 3 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@ version: "3.9"
services:
# Swift on Server CI
# e.g. docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.57.yaml run test

memcached:
image: memcached:latest
ports:
- "11211:11211"

runtime-setup:
image: swift-memcache-gsoc:default
build:
@@ -32,7 +32,7 @@ services:
depends_on:
- runtime-setup
- memcached
command: /bin/bash -xcl "swift $${SWIFT_TEST_VERB-test} $${WARN_AS_ERROR_ARG-} $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
command: /bin/bash -xcl "swift $${SWIFT_TEST_VERB-test} $${WARN_AS_ERROR_ARG-} $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-} $${STRICT_CONCURRENCY_ARG-}"

# util