mirror of
https://github.com/apple/swift-log
synced 2026-11-22 03:40:39 +00:00
Motivation: On 5.8, if the experiment existential any setting is enabled and a consuming package holds an existential of a type from swift-log without an explicit 'any' then the build will fail. Modifications: - Disable the setting Result: Users of 5.8 aren't broken
24 lines
710 B
YAML
24 lines
710 B
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-log:22.04-main
|
|
build:
|
|
args:
|
|
base_image: "swiftlang/swift:nightly-main-jammy"
|
|
|
|
test:
|
|
image: swift-log:22.04-main
|
|
environment:
|
|
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
|
|
#- SANITIZER_ARG=--sanitize=thread
|
|
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
|
|
- EXPLICIT_SENDABLE_ARG=-Xswiftc -require-explicit-sendable
|
|
- STRICT_CONCURRENCY_ARG=-Xswiftc -strict-concurrency=complete
|
|
# Generated test manifest uses existentials without 'any'.
|
|
#- EXISTENTIAL_ANY_ARG=-Xswiftc -enable-upcoming-feature -Xswiftc ExistentialAny
|
|
|
|
shell:
|
|
image: swift-log:22.04-main
|