Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbahng committed Jan 2, 2025
1 parent f051d04 commit 5d59ac0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 21 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
build-linux-wheels:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Build wheels on manylinux_2_28-cp${{ matrix.python }}
name: Build wheels on manylinux_2_28_x86_64-cp${{ matrix.python }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -114,28 +114,27 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "pybind11[global]"
pip install cibuildwheel
- name: Build wheels
run: |
yum install -y python3-devel
yum install -y epel-release
yum install -y python3.11-devel
# Set python paths
PYTHON_VERSION=$(echo "${{ matrix.python }}" | tr -d '.')
PYSHORT="${{ matrix.python }}"
export PYROOT="/opt/python/cp${PYTHON_VERSION}-cp${PYTHON_VERSION}"
export PATH="${PYROOT}/bin:$PATH"
${PYROOT}/bin/python -m pip install --upgrade pip
export PYTHON_EXECUTABLE="${PYROOT}/bin/python"
export PYTHON_INCLUDE_DIR="${PYROOT}/include/python${PYSHORT}"
export Python_ROOT_DIR="${PYROOT}"
${PYROOT}/bin/pip install "pybind11[global]"
${PYROOT}/bin/pip install cibuildwheel
export CIBW_BUILD="cp${PYTHON_VERSION}-*"
export CIBW_MANYLINUX_X86_64_IMAGE=quay.io/pypa/manylinux_2_28_x86_64
echo "CIBW_BUILD: $CIBW_BUILD"
python -m cibuildwheel
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_SKIP: "*-win32 *-manylinux_i686 pp*"
CIBW_BEFORE_BUILD: "yum install -y python3-devel epel-release python3.11-devel"
- name: Store the wheels
uses: actions/upload-artifact@v4
with:
name: wheels-manylinux-${{ matrix.python }}
path: ./wheelhouse/*.whl
compression-level: 0
cd /pyember
python -m cibuildwheel
- name: List uploaded artifacts
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ jobs:
${PYROOT}/bin/pip install "pybind11[global]"
cd /pyember
# Then try pip install
CMAKE_DEV=1 ${PYROOT}/bin/pip install -e . -vv
${PYROOT}/bin/python -c "import ember; print(ember.__file__)"
Expand Down

0 comments on commit 5d59ac0

Please sign in to comment.