Repository navigation
[ workflow ] Some improvements over workflows - #5094
Merged
Merged
Conversation
…ny revamps * Use bash (msys provided by git) by default on Windows * Combine jobs on all OS * Use major releases of GH actions * Use the short commit sha for nightly builds * Use cache everywhere * Enable Windows build
Member
Author
|
Oh, by the way, it might be good to investigate how to distribute Agda binary on GitHub (at least on Windows and macOS) automatically. |
rwe
reviewed
Dec 8, 2020
rwe
left a comment
Contributor
There was a problem hiding this comment.
Looks like good cleanups! I've left a few comments on the bash stuff. I've spent too much time with bash scripts, so they popped out at me and might be useful FYIs.
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 fixes (partially) a number of issues on workflows, including
--fastby again running stack twice on Windows. Then, nightly builds for Windows should just work fine out of the box (under PowerShell orcmd.exe) like prebuilt binaries on other platforms.In addition, I have tried combining CI jobs on different platforms into one single job whenever possible (see
stack.ymlespecially). Hope it provides installation instructions in a compact way.The next goal is to migrate CI/CD scripts from TravisCI to GitHub ...
Caveat:
enable-cluster-counting. I assume this is needed for users who need to write a paper using Agda but, till that point, they should be able to compile Agda by themselves.enable-cluster-countingusing cabal. Someone may try to add it back.