Skip to content

Commit f10e191

Browse files
vlaskyanuraaga
andcommitted
Fix CI/CD builds: upgrade deprecated runners and use native ARM64
Updates GitHub Actions workflows to fix deprecated runner issues and improve ARM64 builds: Release workflow: - Fix x86_64 Linux: ubuntu-20.04 → ubuntu-latest (20.04 is deprecated) - Use native ARM64 runner: ubuntu-24.04-arm instead of cross-compilation - Remove gcc-aarch64-linux-gnu cross-compiler dependency - Build natively on ARM for better SIMD support and reliability Test workflow: - Fix x86_64 Linux: ubuntu-20.04 → ubuntu-latest (20.04 is deprecated) Benefits: - Prevents build failures from deprecated runners - Native ARM builds are more reliable and faster - Better testing of ARM NEON SIMD optimizations - Easier debugging if ARM-specific issues arise Merged from upstream PR asg017#228 by anuraaga. Co-Authored-By: Anuraag (Rag) Agrawal <[email protected]>
1 parent b632185 commit f10e191

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66
contents: read
77
jobs:
88
build-linux-x86_64-extension:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
1212
- run: ./scripts/vendor.sh
@@ -55,13 +55,12 @@ jobs:
5555
name: sqlite-vec-windows-x86_64-extension
5656
path: dist/*
5757
build-linux-aarch64-extension:
58-
runs-on: ubuntu-latest
58+
runs-on: ubuntu-24.04-arm
5959
steps:
6060
- uses: actions/checkout@v4
61-
- run: sudo apt-get install gcc-aarch64-linux-gnu
6261
- run: ./scripts/vendor.sh
6362
- run: make sqlite-vec.h
64-
- run: make CC=aarch64-linux-gnu-gcc loadable static
63+
- run: make loadable static
6564
- uses: actions/upload-artifact@v4
6665
with:
6766
name: sqlite-vec-linux-aarch64-extension

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77
contents: read
88
jobs:
99
build-linux-x86_64-extension:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
1313
- uses: astral-sh/setup-uv@v3

0 commit comments

Comments
 (0)