Skip to content

Commit

Permalink
Removed compiled builds
Browse files Browse the repository at this point in the history
The libraries all need to be compiled with the same compiler and same version of pybind11.
Pypi and pip do not have a mechanism to manage this so it would be a nightmare.
I would like to support compiled builds but I can't figure out a way to ensure they are all built by the same compiler.
  • Loading branch information
gentlegiantJGC committed Nov 29, 2024
1 parent 7c1fbbd commit 84bad48
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,7 @@ jobs:
fail-fast: false
matrix:
cfg:
- { os: windows-latest, architecture: x64, python-version: "3.11" }
- { os: windows-latest, architecture: x86, python-version: "3.11" }
- { os: macos-13, architecture: x64, python-version: "3.11" }
- { os: macos-latest, architecture: arm64, python-version: "3.11" }
- { os: windows-latest, architecture: x64, python-version: "3.12" }
- { os: windows-latest, architecture: x86, python-version: "3.12" }
- { os: macos-13, architecture: x64, python-version: "3.12" }
- { os: macos-latest, architecture: arm64, python-version: "3.12" }
- { os: ubuntu-latest, architecture: x64, python-version: "3.11" }

runs-on: ${{ matrix.cfg.os }}

Expand All @@ -43,5 +36,5 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.AMULET_LEVELDB_PYPI_PASSWORD }}
run: |
python -m build
python -m build --sdist
twine upload dist/* --skip-existing

0 comments on commit 84bad48

Please sign in to comment.