Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@ jobs:
swift build -Xswiftc -strict-concurrency=complete
swift test -Xswiftc -strict-concurrency=complete

- name: Build and Test
run: |
xcodebuild test -scheme PowerSync-Package -destination "platform=iOS Simulator,name=iPhone 16"
xcodebuild test -scheme PowerSync-Package -destination "platform=macOS,arch=arm64,name=My Mac"
xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)"
- name: List available simulator targets
run: xcrun xctrace list devices

- name: Test on iOS simulator
run: xcodebuild test -scheme PowerSync-Package -destination "platform=iOS Simulator,name=iPhone 16"
- name: Test on macOS simulator
run: xcodebuild test -scheme PowerSync-Package -destination "platform=macOS,arch=arm64,name=My Mac"
- name: Test on watchOS simulator
run: xcodebuild test -scheme PowerSync-Package -destination "platform=watchOS Simulator,arch=arm64,name=Apple Watch Ultra 2 (49mm)"
- name: Test on tvOS simulator
run: xcodebuild test -scheme PowerSync-Package -destination "platform=tvOS Simulator,arch=arm64,name=Apple TV"
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ if let kotlinSdkPath = localKotlinSdkOverride {
.binaryTarget(
name: "PowerSyncKotlin",
url:
"https://github.com/powersync-ja/powersync-kotlin/releases/download/v1.10.2/PowersyncKotlinRelease.zip",
checksum: "78780e04436a872b80e2d8c90f4cc1901ec38de2d1b908c2f7c24f7d8ce0f82b"
"https://github.com/powersync-ja/powersync-kotlin/releases/download/v1.10.4/PowersyncKotlinRelease.zip",
checksum: "8e1dd97a4efa223585796e1d343927b56ed64cb73778ec4b384ab679210ad1b6"
))
}

Expand All @@ -58,6 +58,7 @@ let package = Package(
.iOS(.v15),
.macOS(.v12),
.watchOS(.v9),
.tvOS(.v15),
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
Expand Down