Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: test on windows #5

Merged
merged 18 commits into from
Mar 10, 2023
Merged

test: test on windows #5

merged 18 commits into from
Mar 10, 2023

Conversation

tlambert03
Copy link
Member

@tlambert03 tlambert03 commented Mar 7, 2023

This PR adds windows to the test matrix, and updates setup.py slightly to successfully build with pip install . on windows (provided you're in an environment with all the necessary deps)

@tlambert03
Copy link
Member Author

currently failing to build, unable to find the scip headers... which is strange, since if I manually download the scip package the headers do appear to exist at an included dir: C:\Miniconda\envs\test\Include\...

"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c 
/nologo /O2 /W3 /GL /DNDEBUG /MD -I.\ilpy -Iilpy/impl -IC:\Miniconda\envs\test\include 
-IC:\Miniconda\envs\test\Include 
"-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\include" 
"-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\ATLMFC\include" 
"-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\include"
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" 
"-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" 
/EHsc /Tpilpy/wrapper.cpp /FoC:\Users\RUNNER~1\AppData\Local\Temp\tmpt6s7qhi7.build-temp\Release\ilpy/wrapper.obj -O3 -std=c++11 -DHAVE_SCIP -DHAVE_GUROBI


D:\a\ilpy\ilpy\ilpy\impl/solvers/ScipBackend.cpp(7): fatal error C1083: Cannot open include file: 'scip/scipdefplugins.h': No such file or directory

@tlambert03 tlambert03 merged commit 0a037d6 into funkelab:master Mar 10, 2023
@tlambert03 tlambert03 deleted the windows branch March 10, 2023 18:14
funkey added a commit that referenced this pull request Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant