Skip to content

Commit 69435ca

Browse files
authored
Add CI for watchOS and Firebase Storage (#8570)
1 parent b64e0fc commit 69435ca

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/storage.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
runs-on: macos-11
6161
strategy:
6262
matrix:
63-
target: [tvOS, macOS, catalyst]
63+
target: [tvOS, macOS, catalyst, watchOS]
6464
steps:
6565
- uses: actions/checkout@v2
6666
- name: Initialize xcodebuild
@@ -110,9 +110,7 @@ jobs:
110110

111111
strategy:
112112
matrix:
113-
# watchos is disabled since pod lib lint cannot handle test Auth dep even if the dep is only
114-
# specified for the other three platforms.
115-
target: [ios, tvos, macos]
113+
target: [ios, tvos, macos, watchos]
116114
spec: [
117115
'FirebaseStorage.podspec --test-specs=unit', # The integration tests need more set up.
118116
'FirebaseStorageSwift.podspec --skip-tests' # No current unit tests.
@@ -131,7 +129,7 @@ jobs:
131129
runs-on: macos-11
132130
strategy:
133131
matrix:
134-
target: [ios, tvos, macos]
132+
target: [ios, tvos, macos, watchos]
135133
flags: [
136134
'--use-static-frameworks --skip-tests ',
137135
'--use-libraries --skip-tests '
@@ -151,7 +149,7 @@ jobs:
151149
runs-on: macos-11
152150
strategy:
153151
matrix:
154-
target: [ios, tvos, macos]
152+
target: [ios, tvos, macos, watchos]
155153
flags: [
156154
'--use-static-frameworks --skip-tests', # Swift pods do not support --use-libraries
157155
]

FirebaseStorageSwift/Sources/AsyncAwait.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import FirebaseStorage
1616

1717
#if swift(>=5.5)
18-
@available(iOS 15, tvOS 15, macOS 12, *)
18+
@available(iOS 15, tvOS 15, macOS 12, watchOS 8, *)
1919
public extension StorageReference {
2020
/// Asynchronously downloads the object at the StorageReference to a Data object in memory.
2121
/// A Data object of the provided max size will be allocated, so ensure that the device has

0 commit comments

Comments
 (0)