Skip to content

[ workflow ] Some improvements over workflows - #5094

Merged
L-TChen merged 15 commits into
agda:masterfrom
L-TChen:revamp-CI
Dec 10, 2020
Merged

L-TChen merged 15 commits into
agda:masterfrom
L-TChen:revamp-CI

Conversation

@L-TChen

@L-TChen L-TChen commented Dec 8, 2020 •

Copy link
Copy Markdown
Member

This PR fixes (partially) a number of issues on workflows, including

In addition, I have tried combining CI jobs on different platforms into one single job whenever possible (see stack.yml especially). Hope it provides installation instructions in a compact way.

The next goal is to migrate CI/CD scripts from TravisCI to GitHub ...

Caveat:

  • The nightly build for Ubuntu might not work at all, since it is dynamically linked. One way to solve it is to pack other shared libraries altogether, but Linux users may prefer to build it using package managers or from the source. This is only provided for the sake of it.
  • All nightly builds are compiled without 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.
  • I cannot get Agda compiled with the flag enable-cluster-counting using cabal. Someone may try to add it back.

@L-TChen

L-TChen commented Dec 8, 2020 •

Copy link
Copy Markdown
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.

@L-TChen
L-TChen requested review from EdNutting and asr December 8, 2020 14:18

@rwe rwe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .github/check_agda.sh Resolved
Comment thread .github/check_agda.sh Resolved
Comment thread .github/check_agda.sh Resolved
Comment thread .github/check_agda.sh Resolved
Comment thread .github/check_agda.sh Resolved
Comment thread .github/check_agda.sh Resolved
Comment thread .github/check_agda.sh Resolved
Comment thread .github/check_agda.sh Resolved
Comment thread .github/workflows/stack.yml Resolved
@rwe rwe added the infra: github workflows Issues related to GitHub workflows and actions (not in changelog) label Dec 8, 2020
@L-TChen L-TChen added the type: task Concerning the development of Agda (not in changelog) label Dec 10, 2020
@L-TChen
L-TChen merged commit 62dc18e into agda:master Dec 10, 2020
@L-TChen
L-TChen deleted the revamp-CI branch December 10, 2020 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra: github workflows Issues related to GitHub workflows and actions (not in changelog) type: task Concerning the development of Agda (not in changelog)

Projects

None yet

2 participants