-
Notifications
You must be signed in to change notification settings - Fork 388
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
cross-rs/x86_64-pc-windows-gnu [image operating system "linux" cannot be used on this platform.] #969
Comments
The github actions windows environment does not support running docker images with any other OS than windows. cross will never work by default on windows GHA CI on the provided runners, since we'd have to provide docker images using Instead, if you want to use cross here, use a linux runner. (or simpler, just use native cargo) See the last time this workflow ran: https://github.com/alexhallam/tv/runs/6399546363?check_suite_focus=true#step:8:1 Here, cross is sneaky and just fallbacks to cargo. I'll try to figure out why, but it shouldn't have I think. We seem to have broken this behaviour in 0.2.2/0.2.3/0.2.4.I'm not sure if the breakage is acceptable or not. Imo, the behaviour that's currently exhibited is correct, it should try to run and error if docker doesn't work with linux platforms |
Could you point me to the docs that will show my how to use native cargo or run on linux? I have only interacted with cross via the workflow yaml as seen below. https://github.com/alexhallam/tv/actions/runs/2311085956/workflow#L94-L97 |
absolutely, just replace the One thing I notice in that workflow is that you're setting |
Hi,
but now getting this issue #238 on the workflow runs am I missing something? Thanks! |
the logs contains this:
we only provide |
Could you elaborate on this? Why does |
This is fine with the following caveats:
I probably personally would name it |
Got it, thanks! Using |
I have been running this test for a few months. This is the first time that I had a merge that failed here. I am not sure if the problem is with cross or something else. Maybe I could just get pointed to the right place to debug the issue.
My github actions issue is here.
https://github.com/alexhallam/tv/runs/7483114840?check_suite_focus=true
Here is a little output of the error.
The text was updated successfully, but these errors were encountered: