From 5674c14b0a8bf0a7de4b4920132a1efbaf49e6ce Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Fri, 13 Feb 2026 09:52:06 -0800 Subject: [PATCH] gha: update linux arm runner --- .github/workflows/release.yaml | 7 +++---- .github/workflows/test.yaml | 18 ++++-------------- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 770f32a..b6d8399 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,13 +55,11 @@ jobs: name: sqlite-vec-windows-x86_64-extension path: dist/* build-linux-aarch64-extension: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04-arm steps: - uses: actions/checkout@v4 - - run: sudo apt-get install gcc-aarch64-linux-gnu - run: ./scripts/vendor.sh - - run: make sqlite-vec.h - - run: make CC=aarch64-linux-gnu-gcc loadable static + - run: make loadable static - uses: actions/upload-artifact@v4 with: name: sqlite-vec-linux-aarch64-extension @@ -186,6 +184,7 @@ jobs: needs: [ build-linux-x86_64-extension, + build-linux-aarch64-extension, build-macos-x86_64-extension, build-macos-aarch64-extension, build-windows-x86_64-extension, diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b62c7bf..1865dd5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -73,29 +73,19 @@ jobs: name: sqlite-vec-windows-x86_64-extension path: dist/* build-linux-aarch64-extension: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04-arm steps: - - uses: green-coding-solutions/eco-ci-energy-estimation@v4 - with: - task: start-measurement - uses: actions/checkout@v4 with: version: "latest" - - run: sudo apt-get install gcc-arm-linux-gnueabihf - run: ./scripts/vendor.sh - - run: make sqlite-vec.h - - run: make CC=arm-linux-gnueabihf-gcc loadable static + - run: make loadable static + - run: uv sync --directory tests + - run: make test-loadable - uses: actions/upload-artifact@v4 with: name: sqlite-vec-linux-aarch64-extension path: dist/* - - uses: green-coding-solutions/eco-ci-energy-estimation@v4 - with: - task: get-measurement - label: "all" - - uses: green-coding-solutions/eco-ci-energy-estimation@v4 - with: - task: display-results build-android-extensions: runs-on: ubuntu-latest strategy: