Skip to content

Commit

Permalink
Merge pull request #4 from oversizedev/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
aromanov91 authored Nov 10, 2024
2 parents 3480108 + 59aac5e commit 04554a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ jobs:
build-swiftpm:
name: Build SwiftPM
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main
strategy:
matrix:
destination:
- platform=iOS Simulator,name=iPhone 16,OS=18.1
- platform=watchOS Simulator,name=Apple Watch SE (40mm) (2nd generation),OS=11.1
- platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=18.1
- platform=macOS,arch=arm64
with:
package: "OversizeCore"
destination: ${{ matrix.destination }}
secrets: inherit

tests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import UIKit
#endif

#if canImport(UIKit)
#if canImport(UIKit) && !os(watchOS)
public extension UIImage {
var averageColor: UIColor? {
guard let inputImage = CIImage(image: self) else { return nil }
Expand Down

0 comments on commit 04554a7

Please sign in to comment.