Skip to content

Commit

Permalink
Merge branch 'build-wheels' of github.com:moorepants/cyipopt into bui…
Browse files Browse the repository at this point in the history
…ld-wheels
  • Loading branch information
moorepants committed Jun 7, 2024
2 parents 9c282ba + f0bc1f6 commit 92a01ec
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,21 @@ jobs:
activate-environment: test-environment
python-version: ${{ matrix.python-version }}
channels: conda-forge
conda-build-version: '3.21.4'
miniforge-variant: Mambaforge
- name: Install basic dependencies
run: |
conda install -q -y cython>=0.26 "ipopt=${{ matrix.ipopt-version }}" numpy>=1.15 pkg-config>=0.29.2 setuptools>=39.0
conda list
- name: Build wheel
run: |
python setup.py bdist_wheel --dist-dir=wheelhouse
unzip -l wheelhouse/*.whl
conda remove ipopt numpy
python -m pip install wheelhouse/*.whl
python examples/hs071.py
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 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 92a01ec

Please sign in to comment.