-
Notifications
You must be signed in to change notification settings - Fork 8
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
Dependencies inconsistency #26
Comments
There is a test that https://github.com/crystal-lang/install-crystal/actions/runs/5397768652/jobs/9802797905#step:10:1 |
After further experimenting, it seems like After installing it with |
FWIW the two runs that we are comparing are macos versions 13.4 versus 12.6.6. It may very well be that this action is broken on "macos-13" and we should add something to install. Or alternatively the test for |
I don't think 'require "openssl"' is sufficient to verify the library is available and builds succesfully. There is no top level code that calls into libssl, so there will never be any code generated that would link any functions in the library. |
I would really welcome a contribution that addresses all of this. Expand the example so it actually exercises the libraries in some way, and confirm that it fails
Add a background
Maybe this is simple enough that you don't even need to try it out locally, just push it to a branch and see if it runs as expected 😅 |
So it seems the issue is specific to UPDATE: That should confirm that we only need to fix the test to properly fail when dependencies are missing / cannot be found. |
The actions explicitly installs some dependencies such as
libssl-dev
on Linux, but not on macOS (on Windows, the libraries are already included in the Crystal package).This causes some inconsistency because after installing with this action, a program linking against
libssl
compiles fine on Linux, but not on macOS.Example for such a failure: https://github.com/crystal-lang/test-ecosystem/actions/runs/5400167770/jobs/9808241746 (the workflow succeeds on Linux and Windows, but not on macOS).
Should this action install some dependencies on macOs as well?
The text was updated successfully, but these errors were encountered: