-
Notifications
You must be signed in to change notification settings - Fork 49
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
Switched travis to github-actions #149
Conversation
The example of GSL depends on cairo package. Cairo package is not very well maintained. |
BTW, this CI tests macos's version, but it supports only intel silicon. |
@@ -38,3 +38,6 @@ test-suite tests | |||
default-language: Haskell2010 | |||
if os(darwin) | |||
frameworks: Foundation | |||
buildable: True | |||
else | |||
buildable: False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linux does not have the Foundation library, so it can not be tested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In theory Linux could use GNUstep, I suppose, but let's keep it simple.
@@ -94,7 +94,7 @@ solveOde | |||
-> Either String (V.Vector Double) | |||
-- ^ Solution at end point, or error. | |||
solveOde fun x0 f0 xend = | |||
coerce $ solveOdeC (coerce fun) (coerce x0) (coerce f0) (coerce xend) | |||
unsafeCoerce $ solveOdeC (unsafeCoerce fun) (unsafeCoerce x0) (unsafeCoerce f0) (unsafeCoerce xend) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that not only instance Coercible (Vector CDouble) (Vector Double)
but also instance Coercible CDouble Double
are not defined.
So this update is needed.
This is related to #146 .
if [ ${{ matrix.os }} == "ubuntu-latest" ] ; then | ||
stack build --stack-yaml stack-${{ matrix.stackage }}.yaml --flag inline-c:gsl-example --flag inline-c-cpp:std-vector-example | ||
else | ||
stack build --stack-yaml stack-${{ matrix.stackage }}.yaml --flag inline-c-cpp:std-vector-example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When macos, the compilation of gsl-example is disabled.
gsl-example throws a runtime error like conda-forge/gsl-feedstock#34 .
This is gls's issue.
This is a trial to setup github actions.