Skip to content

Commit

Permalink
Add compatibility for iOS 15 and friends (#181)
Browse files Browse the repository at this point in the history
* Add compatibility for iOS 15 and friends

* Add iOS CI

* Fix CI

---------

Co-authored-by: Tim <[email protected]>
  • Loading branch information
ptoffy and 0xTim authored Aug 15, 2024
1 parent f26649c commit 831fe3c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,14 @@ jobs:
with:
with_api_check: ${{ github.event_name == 'pull_request' }}
secrets: inherit

ios-tests:
if: ${{ !(github.event.pull_request.draft || false) }}
runs-on: macos-latest
steps:
- name: Check out JWTKit
uses: actions/checkout@v4
- name: Run iOS Tests on iOS 15
run: xcodebuild test -scheme jwt-kit -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.0'
- name: Run iOS Tests on iOS 16
run: xcodebuild test -scheme jwt-kit -destination 'platform=iOS Simulator,name=iPhone 13,OS=16.0'
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ let package = Package(
name: "jwt-kit",
platforms: [
.macOS(.v13),
.iOS(.v16),
.tvOS(.v16),
.watchOS(.v9),
.iOS(.v15),
.tvOS(.v15),
.watchOS(.v8),
],
products: [
.library(name: "JWTKit", targets: ["JWTKit"]),
Expand Down
6 changes: 3 additions & 3 deletions [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ let package = Package(
name: "jwt-kit",
platforms: [
.macOS(.v13),
.iOS(.v16),
.tvOS(.v16),
.watchOS(.v9),
.iOS(.v15),
.tvOS(.v15),
.watchOS(.v8),
],
products: [
.library(name: "JWTKit", targets: ["JWTKit"]),
Expand Down

0 comments on commit 831fe3c

Please sign in to comment.