File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8484 os : ubuntu-24.04
8585 compiler : clang
8686
87+ build-and-test-linux-riscv64 :
88+ name : Build & Test (linux-riscv64)
89+ needs : lint
90+ uses : ./.github/workflows/03-macos-linux-build.yml
91+ with :
92+ platform : linux-riscv64
93+ os : ubuntu-24.04-riscv
94+
8795 build-android :
8896 name : Build & Test (android)
8997 needs : lint
Original file line number Diff line number Diff line change 44 workflow_call :
55 inputs :
66 platform :
7- description : ' Platform identifier'
7+ description : " Platform identifier"
88 required : true
99 type : string
1010 os :
11- description : ' GitHub Actions runner OS'
11+ description : " GitHub Actions runner OS"
1212 required : true
1313 type : string
1414 compiler :
15- description : ' C++ compiler to use (gcc or clang)'
15+ description : " C++ compiler to use (gcc or clang)"
1616 required : false
1717 type : string
18- default : ' '
18+ default : " "
1919
2020permissions :
2121 contents : read
2222
2323jobs :
24- # Build and test matrix (parallel execution)
2524 build-and-test :
2625 name : Build & Test (${{ inputs.platform }})
2726 runs-on : ${{ inputs.os }}
4342 - name : Set up Python
4443 uses : actions/setup-python@v6
4544 with :
46- python-version : ' 3.10'
47- cache : ' pip'
48- cache-dependency-path : ' pyproject.toml'
45+ python-version : " 3.10"
46+ cache : " pip"
47+ cache-dependency-path : " pyproject.toml"
4948
5049 - name : Install Clang
5150 if : inputs.compiler == 'clang' && runner.os == 'Linux'
@@ -125,17 +124,3 @@ jobs:
125124 ./core-example
126125 ./ailego-example
127126 shell : bash
128-
129- - name : Run C Examples
130- run : |
131- cd "$GITHUB_WORKSPACE/examples/c"
132- mkdir build && cd build
133- cmake .. -DCMAKE_BUILD_TYPE=Release
134- make -j $NPROC
135- ./c_api_basic_example
136- ./c_api_collection_schema_example
137- ./c_api_doc_example
138- ./c_api_field_schema_example
139- ./c_api_index_example
140- ./c_api_optimized_example
141- shell : bash
You can’t perform that action at this time.
0 commit comments