Skip to content

Disable warnings-as-errors for nightlies #353

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

Merged

Conversation

czechboy0
Copy link
Contributor

@czechboy0 czechboy0 commented Oct 30, 2023

Motivation

In Swift 5.11/nigtlies Swift upgraded preconcurrency diagnostics from a remark to a warning, and since we run CI with warnings-as-errors, that broke it. I tried removing the preconcurrency attribute on imports in #352, but we still need it.

Since main builds of Swift are still in-development, we shouldn't be so sensitive to changes there, so disabling warnings-as-errors for nightlies only (keeping for 5.8, 5.9, and 5.10).

Modifications

Disable warnings as errors on CI for nightlies.

Result

CI should pass again.

Test Plan

CI.

Copy link

@PeterAdams-A PeterAdams-A left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@czechboy0 czechboy0 merged commit 2ea4267 into apple:main Oct 30, 2023
@czechboy0 czechboy0 deleted the hd-disable-warnings-as-errors-for-nightlies branch October 30, 2023 14:45
czechboy0 added a commit to apple/swift-openapi-runtime that referenced this pull request Oct 30, 2023
Disable warnings-as-errors for nightlies

### Motivation

Same as apple/swift-openapi-generator#353 but for the runtime package.

### Modifications

Disable warnings as errors on CI for nightlies.

### Result

_[After your change, what will change.]_

### Test Plan

CI should pass again.


Reviewed by: simonjbeaumont

Builds:
     ✔︎ pull request validation (5.10) - Build finished. 
     ✔︎ pull request validation (5.8) - Build finished. 
     ✔︎ pull request validation (5.9) - Build finished. 
     ✔︎ pull request validation (api breakage) - Build finished. 
     ✔︎ pull request validation (docc test) - Build finished. 
     ✔︎ pull request validation (integration test) - Build finished. 
     ✔︎ pull request validation (nightly) - Build finished. 
     ✔︎ pull request validation (soundness) - Build finished. 

#67
@czechboy0 czechboy0 added the semver/none No version bump required. label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants