From aca37418c831b2083a1e5eb6bab0d513f7a462dd Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Fri, 11 Oct 2024 09:25:41 +0200 Subject: [PATCH] Removed the netlib build and simply build with the os preferred lapack. --- .github/workflows/tests.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 14187a2..b1d250c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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