-
-
Notifications
You must be signed in to change notification settings - Fork 391
Add scripts for releases and final 1.7 tweaks #2850
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
Conversation
The job fails for inscrutable reason, binaries will have to be manually compiled in a VM.
Also need to bump the minor versions of all packages which were not bumped since 1.6.1.1 and had changes to their testsuite.
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.
Thanks!
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.
LGTM, thank you for the insane amount of time you are putting in!
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.
Yes, thank you!
41bdac5
to
30435cb
Compare
30435cb
to
b1e084e
Compare
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.
I only skimmed over the python/bash scripts. Since they're not mandatory, I guess it's fine.
@@ -10,7 +10,7 @@ ls -la out/ | |||
TARBALL_PREFIX="haskell-language-server" | |||
case "${TARBALL_EXT}" in | |||
zip) | |||
HLS_VERSION="$("$CI_PROJECT_DIR/out/haskell-language-server-wrapper" --numeric-version)" | |||
HLS_VERSION="$("$CI_PROJECT_DIR/out/haskell-language-server-8.10.7" --numeric-version)" |
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.
Why this change? This will break CI once 8.10.7 is deprecated, no?
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.
If hls-wrapper is compiled with 9.2.2 then the job fails because it can't find libgcc_s_seh-1.dll
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.
Yeah, this should have been fixed upstream weeks ago.
@@ -66,7 +66,7 @@ define set_rpath | |||
endef | |||
|
|||
hls: bindist/ghcs | |||
for ghc in $(shell [ -e "bindist/ghcs-`uname`" ] && cat "bindist/ghcs-`uname`" || cat "bindist/ghcs") ; do \ | |||
for ghc in $(shell [ -e "bindist/ghcs-`uname -o`" ] && cat "bindist/ghcs-`uname -o`" || cat "bindist/ghcs") ; do \ |
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.
-o
is not a posix option afais: https://pubs.opengroup.org/onlinepubs/009695399/utilities/uname.html
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.
I tried it on Windows and FreeBSD, and it seems like the only way to detect mingw without a version number so I think it is OK.
@@ -0,0 +1,154 @@ | |||
#!/usr/bin/env bash |
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.
Note that /usr/bin/env
is not guaranteed by posix either, contrary to popular belief of nix users.
The job fails for inscrutable reason, binaries will have to be manually compiled in a VM.
Also need to bump the minor versions of all packages which were not bumped since 1.6.1.1
and had changes to their testsuite.