From 115f5759f08bb0a1a1414cd3ce0aab97efc20c0a Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Sat, 13 Dec 2025 23:18:01 +0400 Subject: [PATCH] chore(ci): add SPM build checks for Android and Linux --- .github/workflows/ci.yml | 43 ++++++++++++++++++++++++++++++++++++++++ README.md | 6 +++--- 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2847be..07d9184 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,49 @@ jobs: - name: Build with Swift Package Manager - ${{ matrix.name }} run: swift build -c release + test-linux: + name: Linux + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - image: swift:6.0-focal + - image: swift:6.0-jammy + - image: swift:6.0-rhel-ubi9 + - image: swift:6.1-focal + - image: swift:6.1-jammy + - image: swift:6.1-rhel-ubi9 + - image: swift:6.2-bookworm + - image: swift:6.2-jammy + - image: swift:6.2-noble + - image: swift:6.2-rhel-ubi9 + - image: swiftlang/swift:nightly-focal + - image: swiftlang/swift:nightly-jammy + container: + image: ${{ matrix.image }} + timeout-minutes: 10 + steps: + - name: Checkout code + uses: actions/checkout@v6 + - name: ${{ matrix.image }} + run: swift build --build-tests -c debug + + test-android: + name: Android + strategy: + fail-fast: false + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: Checkout code + uses: actions/checkout@v6 + - name: Build for Android + uses: skiptools/swift-android-action@v2 + with: + build-tests: true + run-tests: false + merge-test-reports: needs: test-apple-platforms runs-on: macos-15 diff --git a/README.md b/README.md index 0f7cd09..ed6be60 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,11 @@ Typhoon is a modern, lightweight Swift framework that provides elegant and robus ## Features ✨ **Multiple Retry Strategies** - Constant, exponential, and exponential with jitter -⚡ **Async/Await Native** - Built for modern Swift concurrency +⚡ **Async/Await Native** - Built for modern Swift concurrency 🎯 **Type-Safe** - Leverages Swift's type system for compile-time safety -🔧 **Configurable** - Flexible retry parameters for any use case +🔧 **Configurable** - Flexible retry parameters for any use case 📱 **Cross-Platform** - Works on iOS, macOS, tvOS, watchOS, and visionOS -⚡ **Lightweight** - Minimal footprint with zero dependencies +⚡ **Lightweight** - Minimal footprint with zero dependencies 🧪 **Well Tested** - Comprehensive test coverage ## Table of Contents