-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now picks up Windows Ipopt binary files that are adjacent to setup.py…
… (restores regression) (#220) * Adds a Github action to build against the Ipopt Windows binaries. * Update windows.yml * Update windows.yml * Add back option for loading Ipopt dlls adjacent to the setup.py on Windows. * Use Cython <3 in CI. * Try to fix parsing error. * Try without quotes. * Try quoting all deps. * Fix typo. * Try tilde instead of <. * Try cython 0.29. * Run h2071 after install with windows binaries. * Try ipopt <3.14.12. * Set the IPOPTWINDIR, not sure why it wasn't set before. * Corrected env var. * Print some info about where ipopt is found. * Back to ipopt 3.14. * Run env var before install command. * Improved print statements in setup.py.
- Loading branch information
1 parent
5b089a0
commit 999f0c3
Showing
4 changed files
with
39 additions
and
4 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
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
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 "cython<3" setuptools | ||
- 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 |
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