Add support for Linux with glibc (#61)

* Conditionally import Glibc on Linux for fcntl calls

* Extract transport implementations into separate files

* Fix warning in test

* Add ubuntu-latest to CI test matrix

* Switch to vapor/swiftly-action for setup step

* Configure Prettier extension to format GitHub Actions workflows

* Setup with different actions depending on platform

* Rename step

* Rename job

* Update README
This commit is contained in:
Mattt 2025-04-10 05:22:56 -07:00 • committed by GitHub
commit 1e61f205a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -127,7 +127,7 @@ struct RoundtripTests {
let pingTask = Task {
try await client.ping()
// Ping doesn't return anything, so just getting here without throwing is success
#expect(true) // Test passed if we reach this point
#expect(Bool(true))
}
try await withThrowingTaskGroup(of: Void.self) { group in