Repository navigation
[ workflow, close #4589 ] Release nightly builds officially? - #5121
Merged
Merged
Conversation
L-TChen
force-pushed
the
nightly-release
branch
from
January 6, 2021 02:47
e389843 to
781e82e
Compare
Member
Author
|
I forgot to mention that this workflow is triggered once the So, there is no need to tag any commit manually. P.S. I don't know how to trigger this workflow only when a complete run of test suites is successful. Currently there is no way to tell if a workflow is successful or not before being triggered, see https://github.community/t/workflow-run-completed-event-triggered-by-failed-workflow/128001. |
* Executables are compressed by UPX * The icu4c library is included if possible * The nightly build is automatically released after a successful run of all test suites
L-TChen
force-pushed
the
nightly-release
branch
from
January 7, 2021 03:33
781e82e to
f83f8cb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR proposes to publish nightly builds officially via GitHub release. The release page will look like https://github.com/L-TChen/agda/releases/tag/nightly with a number of binaries attached with a commit message.
Regarding the configuration of these builds,
so no additional dynamic libraries are needed. In theory, it should be usable on most of Linux distributions.
However, this build is not compiled with the flag
--enable-cluster-counting, see https://github.com/4e6/text-icu-static-example for details.--enable-cluster-countingbut cannot be linked statically, so the dynamic library not provided by OS, i.e.icu4cis included.@rpathwhich includes a few reasonable locations. The full information about paths to dynamic libraries is given as followswhere
@rpathincludes@executable_path@executable_path/../lib/usr/local/opt/icu4c/lib(the default location of icu4c library installed by hombrew)*.dllin the same directory of the executable.stripand compressed by UPX. The compressed executable takes about 10MB on Windows and Linux.I have checked them on macOS, Windows, and Linux with Emacs and VS Code. It appears fine to me.
The reason to use GitHub release instead of workflow artifacts to release these builds is a) to allow other people to find them easily and more importantly b) to provide a unique URL to download nightly builds. The latter point will be useful for CI/CD purpose.
If this change works well, maybe we can consider releasing binaries of a stable version in a similar way...?