Elffuss BraidHub

kikocis/lancedb public

main · 721 BRawPermalink
1# We create a composite action to be re-used both for testing and for releasing
2name: build_wheel
3description: "Build a lance wheel"
4inputs:
5 python-minor-version:
6 description: "8, 9, 10, 11"
7 required: true
8 args:
9 description: "--release"
10 required: false
11 default: ""
12runs:
13 using: "composite"
14 steps:
15 - name: Install macos dependency
16 shell: bash
17 run: |
18 brew install protobuf
19 - name: Build wheel
20 uses: PyO3/maturin-action@v1
21 with:
22 command: build
23 args: ${{ inputs.args }}
24 docker-options: "-e PIP_EXTRA_INDEX_URL=https://pypi.fury.io/lancedb/"
25 working-directory: python
26 interpreter: 3.${{ inputs.python-minor-version }}