Commit Graph
5 Commits
Author SHA1 Message Date
Rick Newton-Rogers db1644fe9d Adopt the unified workflows
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.
2026-10-27 09:23:20 -04:00
Cory Benfield 728149ca4f Update the thresholds for 6.4 (#568) 2026-10-07 11:06:59 +01:00
Rick Newton-RogersandGeorge Barnett 335e5b5b9d Drop Swift 6.0 (#545)
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>
2026-04-07 12:14:31 +00:00
Rick Newton-Rogers ac262c1f36 Enable Swift 6.3 jobs in CI (#544)
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.
2026-04-01 14:03:11 +01:00
Fabian Fett 46ffc740ce Add HPACKEncoder Benchmark (#540)
### 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.
2026-03-10 16:07:04 +00:00