Skip to content

Commit

Permalink
remove wheel building for now
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ueber2y committed Nov 29, 2024
1 parent 496b003 commit 41b1851
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,37 +90,3 @@ jobs:
python runners/hypersim/triangulation.py --default_config_file cfgs/triangulation/default_cpu.yaml \
--output_dir outputs/quickstart_triangulation --visualize 0
- name: Build wheels
run: |
python -m pip install wheel
python setup.py bdist_wheel
env:
CIBW_ARCHS_MACOS: ${{ matrix.config.arch }}

- name: Upload wheel files as artifacts
uses: actions/upload-artifact@v4
with:
name: limap-${{ matrix.config.os }}-${{ matrix.config.arch }}-cp${{ matrix.config.python-version }}
path: dist/*.whl

pypi-publish:
name: Publish wheels to PyPI
needs: build
runs-on: ubuntu-latest
# We publish the wheel to pypi when a new tag is pushed,
# either by creating a new GitHub release or explictly with `git tag`
if: ${{ github.event_name == 'release' || startsWith(github.ref, 'refs/tags') }}
steps:
- name: Download wheels
uses: actions/download-artifact@v4
with:
path: ./artifacts/
- name: Move wheels
run: mkdir ./wheelhouse && mv ./artifacts/**/*.whl ./wheelhouse/
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: ./wheelhouse/

0 comments on commit 41b1851

Please sign in to comment.