Skip to content

Commit

Permalink
Disable -warnings-as-errors in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjbeaumont committed Jun 27, 2023
1 parent 5a15221 commit 7723dc8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion docker/docker-compose.2204.58.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ services:
test:
image: *image
environment:
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
# Because OpenAPI supports deprecation, the generated code could include
# deprecated symbols, which will produce warnings.
#
# We'll desable -warnings-as-errors for now and revisit this when we
# refactor the compilation of the generated code into a separate
# pipeline.
#
# - WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error

shell:
Expand Down
9 changes: 8 additions & 1 deletion docker/docker-compose.2204.59.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ services:
test:
image: *image
environment:
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
# Because OpenAPI supports deprecation, the generated code could include
# deprecated symbols, which will produce warnings.
#
# We'll desable -warnings-as-errors for now and revisit this when we
# refactor the compilation of the generated code into a separate
# pipeline.
#
# - WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error

shell:
Expand Down
9 changes: 8 additions & 1 deletion docker/docker-compose.2204.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ services:
test:
image: *image
environment:
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
# Because OpenAPI supports deprecation, the generated code could include
# deprecated symbols, which will produce warnings.
#
# We'll desable -warnings-as-errors for now and revisit this when we
# refactor the compilation of the generated code into a separate
# pipeline.
#
# - WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error

shell:
Expand Down

0 comments on commit 7723dc8

Please sign in to comment.