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

Fails to install on GitHub Actions with windows-latest #115

Closed
paulmueller opened this issue May 3, 2022 · 5 comments
Closed

Fails to install on GitHub Actions with windows-latest #115

paulmueller opened this issue May 3, 2022 · 5 comments

Comments

@paulmueller
Copy link

I didn't know where to best open this issue, but I thought here is probably the best place.

I am trying to install nloptr via GitHub actions on the "windows-latest" runner (here in the "install dclab with all possible dependencies" step).

I get the following error message:

* installing *source* package 'nloptr' ...
** package 'nloptr' successfully unpacked and MD5 sums checked
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************


** libs
mingw32-make: *** No rule to make target '$(CXX11STD)''.  Stop.
ERROR: compilation failed for package 'nloptr'
* removing 'C:/Program Files/R/R-4.2.0/library/nloptr'

This might be related to stevengj/NLoptBuilder#2, because https://github.com/stevengj/NLoptBuilder/releases/download/v2.6.2/NLopt.v2.6.2.x86_64-w64-mingw32.tar.gz is missing.

How would you suggest setting up a GitHub action to use nloptr with R? I have looked at your github actions but I don't really understand what is going on where.

Thanks!

@astamm
Copy link
Owner

astamm commented May 11, 2022

You can indeed copy most of the check-standard.yaml GHA we have, in which you only care for - {os: windows-latest, r: 'release'} in the matrix configuration.

@astamm
Copy link
Owner

astamm commented May 16, 2022

Did you manage to set up your CI scripts? Can we close this?

@paulmueller
Copy link
Author

Sorry, I did not have time to try this yet.

@astamm astamm changed the title lnoptr fails to install on GitHub Actions with windows-latest Fails to install on GitHub Actions with windows-latest May 25, 2022
@astamm
Copy link
Owner

astamm commented May 25, 2022

Any updates on this? If not, I will close the issue by the end of the week as it does not seem to be an issue related to nloptr.

@paulmueller
Copy link
Author

Yes, sorry. I did not manage to have Python and R together in a running GH action yet. If anyone else stumbles across this, then please take a look at this branch: https://github.com/ZellMechanik-Dresden/dclab/tree/test-r ... or (if it does not exist anymore) at the dclab project.

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

No branches or pull requests

2 participants