-
Notifications
You must be signed in to change notification settings - Fork 724
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
Windows CI builds #4590
Windows CI builds #4590
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package cardano-crypto-praos | ||
flags: -external-libsodium-vrf | ||
|
||
package HsOpenSSL | ||
flags: +use-pkg-config |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package cardano-crypto-praos | ||
flags: -external-libsodium-vrf | ||
|
||
package HsOpenSSL | ||
extra-include-dirs: D:/a/_temp/msys64/mingw64/include | ||
extra-lib-dirs: D:/a/_temp/msys64/mingw64/lib | ||
flags: +use-pkg-config | ||
|
||
package secp256k1-haskell | ||
extra-include-dirs: D:/a/_temp/msys64/mingw64/include | ||
extra-lib-dirs: D:/a/_temp/msys64/mingw64/lib | ||
|
||
package basement | ||
extra-include-dirs: D:/a/_temp/msys64/mingw64/include | ||
extra-lib-dirs: D:/a/_temp/msys64/mingw64/lib | ||
|
||
package cardano-crypto-class | ||
extra-include-dirs: D:/a/_temp/msys64/mingw64/include | ||
extra-lib-dirs: D:/a/_temp/msys64/mingw64/lib | ||
|
||
package cardano-crypto-praos | ||
extra-include-dirs: D:/a/_temp/msys64/mingw64/include | ||
extra-lib-dirs: D:/a/_temp/msys64/mingw64/lib | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -178,7 +178,7 @@ jobs: | |
sed -i 's|tests: False|tests: True|g' cabal.project | ||
fi | ||
|
||
cp .github/workflows/cabal.project.local.ci cabal.project.local | ||
cp ".github/workflows/cabal.project.local.ci.$(uname -s)" cabal.project.local | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For Windows only, we need to pass extra flags so that This is necessary because unfortunately the 3rdparty It's unclear why To make it easy so treat Windows differently, we have OS specific The additional flags to make this work on Windows can then be put into Please see the linked issue for more information. |
||
|
||
echo "# cabal.project.local" | ||
cat cabal.project.local | ||
|
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.
Any Haskell packages that fails to build because the system installation directory is missing will need an entry here. This ought to only happen with packages that have C bindings to system libraries that are only installed in the alternate package installation directory.