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.
Motivation:
Swift 6.0 is no longer supported, we should bump the tools version and
remove it from our CI.
Modifications:
* Bump the Swift tools version to Swift 6.1
* Remove Swift 6.0 jobs where appropriate in main.yml, pull_request.yml
Result:
Code reflects our support window.
---------
Co-authored-by: George Barnett <gbarnett@apple.com>
Motivation:
Swift 6.3 has been released, we should add it to our CI coverage.
Modifications:
Add additional Swift 6.3 jobs where appropriate in main.yml,
pull_request.yml
Result:
Improved test coverage.
### Motivation
swift-nio-http2 shall be fast. For fast http2 we need fast HPACK
encoding. We should measure `HPACKEncoder`s performance.
### Changes
- Add a benchmark target
- Add a `HPACKHeaderEncoding_APNS` benchmark that allows us to encode
the same fake apns header over and over.
### Result
We can measure the HPACK encoding performance.