mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-22 04:30:43 +00:00
Motivation * The workflows this repository calls are one per job kind (`unit_tests.yml`, `release_builds.yml`, `cxx_interop.yml`, `static_sdk.yml`, `macos_tests.yml`, `benchmarks.yml`), two of the matrices are built by `curl`ing a script from another repository, and the unified workflows in `swiftlang/github-workflows` replace all of them with one matrix generated from the call's inputs. Modifications * Replaced the unit test, Cxx interop, release build, static SDK and macOS jobs with a `tests` call to `package_test.yml`, with `Debug-Test` and `Release-Build` as labeled commands. * Named the Swift versions in the lists, since four releases are supported and the thresholds are files named for versions, and stated the list once as a YAML anchor. * Wrote the per-version arguments as a `default` plus the one version that differs. * Moved benchmarks to the unified `benchmarks.yml`, and h2spec and the integration tests to `toolchain_matrix.yml` with `execute_matrix.yml`. * Renamed the committed `nightly-next` thresholds to `nightly-release`. * Opted out of the checks this package does not run: Windows, macOS with swiftly, and the Wasm, Embedded Wasm and Android builds. Result * The same platforms and Swift versions are exercised through the unified workflows. * The calls follow `main` of the unified workflows until a release is cut, when they should be pinned to its tag.