Skip to content
Open
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
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@ jobs:
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- name: Select Xcode 26.2
run: sudo xcode-select -s /Applications/Xcode_26.2.app
- name: Select Xcode 26.4
run: sudo xcode-select -s /Applications/Xcode_26.4.app
- name: Run Tests
run: swift test
- name: Build Release
run: swift build --configuration release

linux:
name: Linux
runs-on: ubuntu-latest
container: swift:6.3
steps:
- uses: actions/checkout@v4
- name: "Install SQLite"
run: |
apt-get update
apt-get install -y libsqlite3-dev
- name: "Test Swift Package on Linux"
run: swift test
14 changes: 7 additions & 7 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ let package = Package(
.package(url: "https://github.com/pointfreeco/swift-tagged", from: "0.10.0"),
.package(
url: "https://github.com/pointfreeco/sqlite-data",
from: "1.3.0",
from: "1.6.1",
traits: ["SQLiteDataTagged"]
),
.package(
url: "https://github.com/pointfreeco/swift-structured-queries",
from: "0.25.1",
from: "0.31.1",
traits: ["StructuredQueriesTagged"]
),
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.4.3")
Expand Down
1 change: 0 additions & 1 deletion Sources/SQLiteVecData/Database+LoadSQLiteVec.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import CSQLiteVec
import GRDB
import SQLite3

extension Database {
/// Loads the sqlite-vec extension into the current database connection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ import StructuredQueriesCore
rhs.array.span.withUnsafeBytes { rhsPtr in
let size = Self.count * MemoryLayout<Float>.stride
return lhsPtr.baseAddress == rhsPtr.baseAddress
|| memcmp(lhsPtr.baseAddress, rhsPtr.baseAddress, size) == 0
|| memcmp(lhsPtr.baseAddress!, rhsPtr.baseAddress!, size) == 0
}
}
}
Expand Down
Loading
Loading