Skip to content

Commit 9c2893d

Browse files
committed
chore: add Windows ARM64 CI build job to release workflow
The existing 1.0.0 package had a win32-arm64 DLL that was added manually with no corresponding CI job. Add build-windows-aarch64-extension using a native windows-11-arm runner with ARM64-appropriate security flags: /Qspectre and /CETCOMPAT intentionally omitted (x64-only). Wire into dist.needs and add artifact download at dist/windows-aarch64.
1 parent 6acacfc commit 9c2893d

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,26 @@ jobs:
5454
with:
5555
name: sqlite-vec-windows-x86_64-extension
5656
path: dist/*
57+
build-windows-aarch64-extension:
58+
runs-on: windows-11-arm
59+
steps:
60+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
61+
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
62+
with:
63+
arch: arm64
64+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
65+
with:
66+
python-version: "3.12"
67+
- run: ./scripts/vendor.sh
68+
shell: bash
69+
- run: make sqlite-vec.h
70+
- run: mkdir dist
71+
# ARM64: /Qspectre and /CETCOMPAT are x64-only; omitted intentionally
72+
- run: cl.exe /W4 /sdl /guard:cf /ZH:SHA_256 /Ivendor/ /O2 /LD sqlite-vec.c /Fedist/vec0.dll /link /DYNAMICBASE /NXCOMPAT /guard:cf
73+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
74+
with:
75+
name: sqlite-vec-windows-aarch64-extension
76+
path: dist/*
5777
build-linux-aarch64-extension:
5878
runs-on: ubuntu-24.04-arm
5979
steps:
@@ -188,6 +208,7 @@ jobs:
188208
build-macos-x86_64-extension,
189209
build-macos-aarch64-extension,
190210
build-windows-x86_64-extension,
211+
build-windows-aarch64-extension,
191212
build-wasm32-emscripten,
192213
build-android-extensions,
193214
build-ios-extensions,
@@ -216,6 +237,10 @@ jobs:
216237
with:
217238
name: sqlite-vec-windows-x86_64-extension
218239
path: dist/windows-x86_64
240+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
241+
with:
242+
name: sqlite-vec-windows-aarch64-extension
243+
path: dist/windows-aarch64
219244
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
220245
with:
221246
name: sqlite-vec-wasm32-emscripten

0 commit comments

Comments
 (0)