Skip to content

Commit 8202bb3

Browse files
authored
chore(ci): add SPM build checks for Android and Linux (#46)
1 parent 86e27bd commit 8202bb3

2 files changed

Lines changed: 46 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,49 @@ jobs:
9292
- name: Build with Swift Package Manager - ${{ matrix.name }}
9393
run: swift build -c release
9494

95+
test-linux:
96+
name: Linux
97+
runs-on: ubuntu-latest
98+
strategy:
99+
fail-fast: false
100+
matrix:
101+
include:
102+
- image: swift:6.0-focal
103+
- image: swift:6.0-jammy
104+
- image: swift:6.0-rhel-ubi9
105+
- image: swift:6.1-focal
106+
- image: swift:6.1-jammy
107+
- image: swift:6.1-rhel-ubi9
108+
- image: swift:6.2-bookworm
109+
- image: swift:6.2-jammy
110+
- image: swift:6.2-noble
111+
- image: swift:6.2-rhel-ubi9
112+
- image: swiftlang/swift:nightly-focal
113+
- image: swiftlang/swift:nightly-jammy
114+
container:
115+
image: ${{ matrix.image }}
116+
timeout-minutes: 10
117+
steps:
118+
- name: Checkout code
119+
uses: actions/checkout@v6
120+
- name: ${{ matrix.image }}
121+
run: swift build --build-tests -c debug
122+
123+
test-android:
124+
name: Android
125+
strategy:
126+
fail-fast: false
127+
runs-on: ubuntu-latest
128+
timeout-minutes: 15
129+
steps:
130+
- name: Checkout code
131+
uses: actions/checkout@v6
132+
- name: Build for Android
133+
uses: skiptools/swift-android-action@v2
134+
with:
135+
build-tests: true
136+
run-tests: false
137+
95138
merge-test-reports:
96139
needs: test-apple-platforms
97140
runs-on: macos-15

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ Typhoon is a modern, lightweight Swift framework that provides elegant and robus
1717
## Features
1818

1919
**Multiple Retry Strategies** - Constant, exponential, and exponential with jitter
20-
**Async/Await Native** - Built for modern Swift concurrency
20+
**Async/Await Native** - Built for modern Swift concurrency
2121
🎯 **Type-Safe** - Leverages Swift's type system for compile-time safety
22-
🔧 **Configurable** - Flexible retry parameters for any use case
22+
🔧 **Configurable** - Flexible retry parameters for any use case
2323
📱 **Cross-Platform** - Works on iOS, macOS, tvOS, watchOS, and visionOS
24-
**Lightweight** - Minimal footprint with zero dependencies
24+
**Lightweight** - Minimal footprint with zero dependencies
2525
🧪 **Well Tested** - Comprehensive test coverage
2626

2727
## Table of Contents

0 commit comments

Comments
 (0)