From 0dc9a644f83142f33ca1e9caf94de380f4fc342b Mon Sep 17 00:00:00 2001 From: Raphael Hiesgen Date: Tue, 29 Jul 2025 18:20:20 +0100 Subject: [PATCH 1/2] Enable release mode builds ### Motivation: Some errors do not show up in debug builds. Enabling release mode builds improves the CI coverage. ### Modifications: Enable release mode builds for pull requests and scheduled builds on main. ### Result: Improved CI coverage. --- .github/workflows/main.yml | 4 ++++ .github/workflows/pull_request.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 60b4907..fb10227 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,3 +48,7 @@ jobs: build_scheme: swift-asn1 xcode_16_2_build_arguments_override: "-Xswiftc -Xfrontend -Xswiftc -require-explicit-sendable" xcode_16_3_build_arguments_override: "-Xswiftc -Xfrontend -Xswiftc -require-explicit-sendable" + + release-builds: + name: Release builds + uses: apple/swift-nio/.github/workflows/release_builds.yml@main diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index b68301c..1facd56 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -63,3 +63,7 @@ jobs: build_scheme: swift-asn1 xcode_16_2_build_arguments_override: "-Xswiftc -Xfrontend -Xswiftc -require-explicit-sendable" xcode_16_3_build_arguments_override: "-Xswiftc -Xfrontend -Xswiftc -require-explicit-sendable" + + release-builds: + name: Release builds + uses: apple/swift-nio/.github/workflows/release_builds.yml@main From 93e551684f625cbd207fa77a7386910921df1b1d Mon Sep 17 00:00:00 2001 From: Raphael Hiesgen Date: Tue, 29 Jul 2025 18:21:12 +0100 Subject: [PATCH 2/2] Enable windows builds --- .github/workflows/main.yml | 5 +++++ .github/workflows/pull_request.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb10227..2b9e8b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,3 +52,8 @@ jobs: release-builds: name: Release builds uses: apple/swift-nio/.github/workflows/release_builds.yml@main + with: + windows_6_0_enabled: true + windows_6_1_enabled: true + windows_nightly_next_enabled: true + windows_nightly_main_enabled: true diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1facd56..2b7930f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -67,3 +67,8 @@ jobs: release-builds: name: Release builds uses: apple/swift-nio/.github/workflows/release_builds.yml@main + with: + windows_6_0_enabled: true + windows_6_1_enabled: true + windows_nightly_next_enabled: true + windows_nightly_main_enabled: true