3 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
strategy: | |
matrix: | |
include: | |
- platform: amd64 | |
runs-on: ubuntu-latest | |
docker-arch: "" | |
- platform: arm64 | |
runs-on: ubuntu-latest | |
docker-arch: "--platform linux/arm64" | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set standalone env | |
uses: ./.github/actions/set_standalone_env | |
with: | |
build-type: github | |
- name: Build python sdk | |
run: | | |
cd sdk/python | |
python setup.py bdist_wheel | |
pip install dist/pyvearch* | |
- name: Test Benchmark Scripts | |
run: | | |
cd scripts/benchmarks | |
python restful.py | |
python pysdk.py |