Skip to content

Commit

Permalink
Changes to try to get manylinux wheels working.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCzarnecki committed Oct 25, 2024
1 parent 8493373 commit 71a5a97
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-24.04]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- name: Checkout repository
Expand All @@ -107,11 +106,17 @@ jobs:
pip install wheel
pip install setuptools
pip install build
pip install cibuildwheel
- name: build
run: python -m build
run: cibuildwheel --platform linux
env:
CIBW_BUILD: cp3?-*
CIBW_ARCHS: x86_64 aarch64
CIBW_ENVIRONMENT: CXXFLAGS="-std=c++17" # Adjust as per your C++ requirements
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"

- name: upload wheels
uses: actions/upload-artifact@v3
with:
path: ./dist/*.whl
path: wheelhouse/*.whl

0 comments on commit 71a5a97

Please sign in to comment.