From 71a5a970d2fdae8abbfaa2a222195f4508113fcb Mon Sep 17 00:00:00 2001 From: StephenCzarnecki Date: Fri, 25 Oct 2024 17:49:23 -0400 Subject: [PATCH] Changes to try to get manylinux wheels working. --- .github/workflows/build_wheels.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 2186bef..8541f57 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -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 @@ -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 \ No newline at end of file + path: wheelhouse/*.whl \ No newline at end of file