feat: support ai extension (#88)

This commit is contained in:
Cuiys
2026-02-12 18:33:41 +08:00
committed by GitHub
parent e7ad7cc31e
commit 1fa15ce96b
24 changed files with 6358 additions and 665 deletions
+2 -9
View File
@@ -69,9 +69,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
- name: Install Ruff
- name: Install dependencies
run: |
${{ env.PIP_BIN }} install --upgrade pip ruff
${{ env.PIP_BIN }} install --upgrade pip ruff==v0.14.4 clang-format==18.1.8 pybind11==3.0 pytest pytest-cov
shell: bash
- name: Run Ruff Linter
@@ -88,7 +88,6 @@ jobs:
- name: Run clang-format Check
run: |
${{ env.PIP_BIN }} install clang-format==18.1.8
cd "$CLEAN_WORKSPACE"
@@ -120,11 +119,6 @@ jobs:
${{ env.PIP_BIN }} install -v . --config-settings='cmake.define.BUILD_TOOLS="ON"'
shell: bash
- name: Install test dependencies
run: |
${{ env.PIP_BIN }} install pytest pytest-cov
shell: bash
- name: Run Python Tests with Coverage
run: |
cd "$CLEAN_WORKSPACE"
@@ -133,7 +127,6 @@ jobs:
- name: Run Cpp Tests
run: |
${{ env.PIP_BIN }} install pybind11==3.0
cd "$CLEAN_WORKSPACE/build"
make unittest -j$(nproc)
shell: bash
+2 -9
View File
@@ -69,9 +69,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
- name: Install Ruff
- name: Install dependencies
run: |
${{ env.PIP_BIN }} install --upgrade pip ruff
${{ env.PIP_BIN }} install --upgrade pip ruff==v0.14.4 clang-format==18.1.8 pybind11==3.0 pytest pytest-cov
shell: bash
- name: Run Ruff Linter
@@ -88,7 +88,6 @@ jobs:
- name: Run clang-format Check
run: |
${{ env.PIP_BIN }} install clang-format==18.1.8
cd "$CLEAN_WORKSPACE"
@@ -120,11 +119,6 @@ jobs:
${{ env.PIP_BIN }} install -v . --config-settings='cmake.define.BUILD_TOOLS="ON"'
shell: bash
- name: Install test dependencies
run: |
${{ env.PIP_BIN }} install pytest pytest-cov
shell: bash
- name: Run Python Tests with Coverage
run: |
cd "$CLEAN_WORKSPACE"
@@ -133,7 +127,6 @@ jobs:
- name: Run Cpp Tests
run: |
${{ env.PIP_BIN }} install pybind11==3.0
cd "$CLEAN_WORKSPACE/build"
make unittest -j$(nproc)
shell: bash