From 2e074efbe24d34ca64c22acaa9856781ec81f120 Mon Sep 17 00:00:00 2001 From: Si Beaumont Date: Mon, 24 Aug 2026 13:59:37 +0100 Subject: [PATCH] [5.x] Remove native SwiftPM build-system workaround in CI (#461) ### Motivation: Recently we got this branch warnings-as-errors clean[^1]. But, in order to do so on Swift 6.4 and main, we needed to use `--build-system native` because the `swiftbuild` backend wasn't handling warning control flags properly. The SwiftPM fix for this is now available in latest 6.4 and main nightly images. ### Modifications: - Remove SwiftPM --build-system native workaround in CI ### Result: CI now builds cleanly with `-warnings-as-errors` with the default SwiftPM build-system. [^1]: https://github.com/apple/swift-crypto/pull/454 --- .github/workflows/pull_request.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0455c8f6..9d21bb17 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -21,16 +21,16 @@ jobs: with: linux_6_2_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" linux_6_3_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" - linux_nightly_next_arguments_override: "--build-system native -Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" - linux_nightly_main_arguments_override: "--build-system native --explicit-target-dependency-import-check error" + linux_nightly_next_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" + linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" windows_6_2_enabled: true windows_6_3_enabled: true windows_nightly_next_enabled: true windows_nightly_main_enabled: true windows_6_2_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" windows_6_3_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" - windows_nightly_next_arguments_override: "--build-system native -Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" - windows_nightly_main_arguments_override: "--build-system native --explicit-target-dependency-import-check error" + windows_nightly_next_arguments_override: "-Xswiftc -warnings-as-errors -Xswiftc -Wwarning -Xswiftc ImplementationOnlyDeprecated --explicit-target-dependency-import-check error" + windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" release-builds: name: Release builds