Skip to content

Commit

Permalink
Update pypi-distribution-reusable.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanwm authored Sep 21, 2024
1 parent 22a28e0 commit bcc313e
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/pypi-distribution-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,26 @@ jobs:
- name: Install Protoc
run: sudo apt install protobuf-compiler

- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "PyTorch_requirements.txt"
#- name: Install Python dependencies
# uses: py-actions/py-dependency-install@v4
# with:
# path: "PyTorch_requirements.txt"

- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
#- name: Install pypa/build
# run: >-
# python3 -m
# pip install
# build
# --user

- name: Build a binary wheel and a source tarball
run: python3 -m build -v
#- name: Build a binary wheel and a source tarball
# run: python3 -m build -v

- name: Build manylinux Python wheels
uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64
with:
python-versions: 'cp39-cp311'
build-requirements: 'scikit-build-core pybind11 torch'

- name: Store the distribution packages
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit bcc313e

Please sign in to comment.