Skip to content

Commit

Permalink
Merge pull request #273 from moorepants/no-netlib
Browse files Browse the repository at this point in the history
Removed the netlib build and simply build with the os preferred lapack.
  • Loading branch information
moorepants authored Oct 11, 2024
2 parents 74fb827 + aca3741 commit 72802e4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,16 @@ jobs:
miniforge-variant: Mambaforge
- name: Install basic dependencies against generic blas/lapack
run: |
mamba install -q -y lapack "libblas=*=*netlib" "ipopt=${{ matrix.ipopt-version }}" "numpy>=1.25" "pkg-config>=0.29.2" "setuptools>=44.1.1" "cython>=0.29.28"
mamba install -q -y "ipopt=${{ matrix.ipopt-version }}" "numpy>=1.25" "pkg-config>=0.29.2" "setuptools>=44.1.1" "cython>=0.29.28" "pytest>=6.2.5"
- run: echo "IPOPTWINDIR=USECONDAFORGEIPOPT" >> $GITHUB_ENV
- name: Install CyIpopt
- name: Install cyipopt
run: |
rm pyproject.toml
python -m pip install .
python -m pip install --no-deps --no-build-isolation .
mamba list
- name: Test with pytest using OS specific blas/lapack
- name: Test with pytest and run examples
run: |
python -c "import cyipopt"
mamba remove lapack
mamba install -q -y "ipopt=${{ matrix.ipopt-version }}" "numpy>=1.25" "pkg-config>=0.29.2" "setuptools>=44.1.1" "pytest>=6.2.5" "cython=0.29.*"
mamba list
pytest
python examples/hs071.py
Expand Down

0 comments on commit 72802e4

Please sign in to comment.