-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c654e3
commit f0bc1f6
Showing
1 changed file
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |