Fully allow Cython 3. #51
Workflow file for this run
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
name: windows | |
on: [push, pull_request] | |
# cancels prior builds for this workflow when new commit is pushed | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Manually install on Windows with Ipopt binaries | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: python -m pip install "numpy>=1.21.5" "cython>=0.29.28" "setuptools>44.1.1" | |
- run: Invoke-WebRequest -Uri "https://github.com/coin-or/Ipopt/releases/download/releases%2F3.13.3/Ipopt-3.13.3-win64-msvs2019-md.zip" -OutFile "Ipopt-3.13.3-win64-msvs2019-md.zip" | |
- run: 7z x Ipopt-3.13.3-win64-msvs2019-md.zip | |
- run: mv Ipopt-3.13.3-win64-msvs2019-md/* . | |
- run: python setup.py install | |
- run: python examples/hs071.py |