Skip to content

Commit

Permalink
Try cibuildwheel.
Browse files Browse the repository at this point in the history
  • Loading branch information
moorepants committed Feb 22, 2023
1 parent 9c654e3 commit f0bc1f6
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,18 @@ jobs:
miniforge-variant: Mambaforge
- name: Install basic dependencies
run: |
mamba install -q -y cython>=0.26 "ipopt=${{ matrix.ipopt-version }}" numpy>=1.15 pkg-config>=0.29.2 setuptools>=39.0 auditwheel
mamba install -q -y cython>=0.26 "ipopt=${{ matrix.ipopt-version }}" numpy>=1.15 pkg-config>=0.29.2 setuptools>=39.0
mamba list
- name: Build wheel
run: |
python setup.py bdist_wheel --dist-dir=wheelhouse
for wheel in wheelhouse/*.whl; do auditwheel repair $wheel; done
unzip -l wheelhouse/*.whl
mamba remove ipopt numpy
python -m pip install wheelhouse/*.whl
python examples/hs071.py
- name: Build wheels
uses: pypa/[email protected]
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
#- name: Build wheel
#run: |
#python setup.py bdist_wheel --dist-dir=wheelhouse
#for wheel in wheelhouse/*.whl; do auditwheel repair $wheel; done
#unzip -l wheelhouse/*.whl
#mamba remove ipopt numpy
#python -m pip install wheelhouse/*.whl
#python examples/hs071.py

0 comments on commit f0bc1f6

Please sign in to comment.