Skip to content

Merge pull request #131 from husqvarnagroup/gardena/ml/update-cibuild… #177

Merge pull request #131 from husqvarnagroup/gardena/ml/update-cibuild…

Merge pull request #131 from husqvarnagroup/gardena/ml/update-cibuild… #177

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
# create the source distribution
make_sdist:
name: Make SDist
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Optional, use if you use setuptools_scm
submodules: true # Optional, use if you have submodules
- name: Build SDist
run: |
pip install build
pip install -e .
python -m build --sdist
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz