Skip to content

Commit

Permalink
Fix build for linux-aarch64 and clean up Android dupes
Browse files Browse the repository at this point in the history
- Switched to the correct compiler (gcc-aarch64-linux-gnu) for linux-aarch64 builds to ensure 64-bit binaries are generated.
- Removed duplicate artifact upload for sqlite-vec-android-armv7a-extension in the dist job.

Resolves: asg017#159
  • Loading branch information
lukehinds authored Dec 27, 2024
1 parent 2abca78 commit ba711c2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install gcc-arm-linux-gnueabihf
- run: sudo apt-get install gcc-aarch64-linux-gnu
- run: ./scripts/vendor.sh
- run: make sqlite-vec.h
- run: make CC=arm-linux-gnueabihf-gcc loadable static
- run: make CC=aarch64-linux-gnu-gcc loadable static
- uses: actions/upload-artifact@v4
with:
name: sqlite-vec-linux-aarch64-extension
Expand Down Expand Up @@ -237,10 +237,6 @@ jobs:
with:
name: sqlite-vec-android-armv7a-extension
path: dist/android-armv7a
- uses: actions/download-artifact@v4
with:
name: sqlite-vec-android-armv7a-extension
path: dist/android-armv7a
- uses: actions/download-artifact@v4
with:
name: sqlite-vec-ios-aarch64-extension
Expand Down

0 comments on commit ba711c2

Please sign in to comment.