Skip to content

Test matrix strategy for deployment#38

Draft
Andful wants to merge 20 commits intoscipopt:mainfrom
Andful:main
Draft

Test matrix strategy for deployment#38
Andful wants to merge 20 commits intoscipopt:mainfrom
Andful:main

Conversation

@Andful
Copy link
Copy Markdown

@Andful Andful commented Mar 27, 2026

From my understanding, to solve issue #35 and #37 require a "matrix" like deployment.

This draft is for me to test the matrix feature of the GitHub pipeline. Hopefully, if acceptable, it may be merged.

@Andful Andful force-pushed the main branch 4 times, most recently from 19478e9 to d2c54b8 Compare March 29, 2026 15:41
@Andful
Copy link
Copy Markdown
Author

Andful commented Mar 29, 2026

This is the most "successful" action so far: https://github.com/Andful/scipoptsuite-deploy/actions/runs/23714480464

They seem to compile and pass the test for all the cases (with and without GMP), except for windows. On windows, I have trouble compiling SCIP. (Note, in the actions, all jobs seem to be successful because I disabled set -e to avoid the other jobs to be stopped.)

On windows, I am having problems compiling SCIP. From the error message, it seems to be somehow related Ipopt. It would be great if I can get pointers to fix the compilation error. FYI ... I moved away from the MSVC compiler into the GCC compiler. This because, MSVC does not seem to be supported for the GMP project.

The things I could achieve are:

Few miscellaneous points:

  • If we keep the GCC compiler for windows, and compile most of the dependencies from source, we may unify the building processes across architectures and OSs. Only "diverging behavior" across architectures and OSs being dependence installation.
  • I broke the feature where you could conditionally select which OSs to build for 😅. One simple solution to fix this may be the "return early".
  • The way I unified the jobs is a bit "hacky"...

@Andful
Copy link
Copy Markdown
Author

Andful commented Mar 29, 2026

P.S.

On windows, I compiled Ipopt from source. The compilation of Ipopt seems to complete just fine. But when compiling SCIP, I get the following logs of this job:

2026-03-29T17:28:14.0029871Z -- Finding IPOPT
2026-03-29T17:28:14.0376537Z Searching for IPOPT in ../scip_install
2026-03-29T17:28:14.0990886Z -- Found IPOPT: /d/a/scipoptsuite-deploy/scipoptsuite-deploy/scip_install/bin (Required is at least version "3.12.0")
2026-03-29T17:28:14.0991797Z -- Finding IPOPT - found
...
2026-03-29T17:29:20.9216489Z /d/a/scipoptsuite-deploy/scipoptsuite-deploy/scip-10.0.1/src/scip/nlpi_ipopt.cpp:65:10: fatal error: IpoptConfig.h: No such file or directory
2026-03-29T17:29:20.9232924Z    65 | #include "IpoptConfig.h"
2026-03-29T17:29:20.9244920Z       |          ^~~~~~~~~~~~~~~
2026-03-29T17:29:20.9269833Z compilation terminated.
...

EDIT:
nvm....Ipopt does not seem to have compiled:

2026-03-29T17:14:45.0869363Z checking for LAPACK... no
2026-03-29T17:14:45.0870784Z configure: error: Required package LAPACK not found.

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