zvec/.github/workflows
ihb2032 df447a54e2
Refactor CPU feature detection to use an explicit x86 whitelist (#258)
* fix(cpu_features): refactor architecture detection to explicit x86 whitelist

Currently, `cpu_features.cc` assumes any non-ARM architecture is x86/x64, which leads to a fatal missing `<cpuid.h>` error on architectures like RISC-V.
This commit refactors the preprocessor macros to explicitly whitelist x86 architectures (`__x86_64__`, `__i386__`, `_M_X64`, `_M_IX86`). All other architectures (RISC-V, ARM, etc.) will now safely fall back to the default zero-initialization, allowing cross-compilation to succeed.

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: Add RISE RISC-V runner

Introduce the RISC-V CI runner provided by the RISE project.
This enables automated testing and building for the RISC-V architecture.

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: use python 3.12 for RISC-V64

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: add RISC-V numpy dependencies

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: add RISC-V wheel cache

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: use pre-built RISE numpy wheel to speed up riscv builds

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: use pre-built RISE cmake wheel to speed up riscv builds

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: split RISC-V build and test into separate jobs

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: fix

Signed-off-by: ihb2032 <hebome@foxmail.com>

* ci: fix

Signed-off-by: ihb2032 <hebome@foxmail.com>

* Update hnsw_streamer_test.cc

* ci: add cache

Signed-off-by: ihb2032 <hebome@foxmail.com>

* Update hnsw_streamer_test.cc

* Update test_gil_release.py

* ci: schedule workflow to run overnight

---------

Signed-off-by: ihb2032 <hebome@foxmail.com>
Co-authored-by: ZeFeng Yin <yinzefeng.yzf@alibaba-inc.com>
2026-06-02 11:51:25 +08:00
..
docker
scripts
01-ci-pipeline.yml Refactor CPU feature detection to use an explicit x86 whitelist (#258) 2026-06-02 11:51:25 +08:00
02-lint-check.yml chore: android ci needs lint first (#240) 2026-03-18 16:16:49 +08:00
03-macos-linux-build.yml Refactor CPU feature detection to use an explicit x86 whitelist (#258) 2026-06-02 11:51:25 +08:00
04-android-build.yml ci: add ccache/sccache compilation caching to speed up CI builds (#360) 2026-05-12 15:48:48 +08:00
05-windows-build.yml feat(test): enable parallel tests (#384) 2026-05-12 23:14:17 +08:00
06-ios-build.yml ci: add ccache/sccache compilation caching to speed up CI builds (#360) 2026-05-12 15:48:48 +08:00
07-linux-riscv-build.yml Refactor CPU feature detection to use an explicit x86 whitelist (#258) 2026-06-02 11:51:25 +08:00
_build_wheel_job.yml fix(ci): fix wheel version detection & windows wheel ci (#303) 2026-04-02 22:26:00 +08:00
auto-assign.yml ci(deps): bump kentaro-m/auto-assign-action from 2.0.0 to 2.0.2 (#278) 2026-04-07 19:23:04 +08:00
build_test_wheel.yml feat: windows support (#216) 2026-03-30 20:47:34 +08:00
build_wheel.yml feat: windows support (#216) 2026-03-30 20:47:34 +08:00
build_wheel_on_windows.yml ci(deps): bump actions/download-artifact from 4 to 8 (#317) 2026-04-07 10:01:46 +08:00
clang_tidy.yml feat(ci): speed up clang-tidy CI workflow (#438) 2026-06-02 10:28:05 +08:00
community-pr-handler.yml ci(deps): bump actions/github-script from 8 to 9 (#334) 2026-04-13 11:18:35 +08:00
continuous_bench.yml ci: disable benchmark ci temp (#362) 2026-04-21 14:39:25 +08:00
issue-auto-assign.yml ci(deps): bump actions/github-script from 8 to 9 (#334) 2026-04-13 11:18:35 +08:00
nightly_coverage.yml ci: skip timing-sensitive GIL test in coverage builds (#412) 2026-05-19 10:45:42 +08:00