Skip to content
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

Init Coq Nix Toolbox and generate CI files. #21

Closed
wants to merge 1 commit into from

Conversation

Zimmi48
Copy link

@Zimmi48 Zimmi48 commented Sep 2, 2021

This infrastructure should allow you to easily test your library with the current dev version of Coq and Equations. To do so, run:

nix-shell --argstr bundle dev

By default, nix-shell will open the 8.13 version. You can also test an earlier version with, e.g.:

nix-shell --argstr bundle "8.10"

The CI files is a bonus (and doesn't have to be committed if you don't want to). It becomes really interesting when a Cachix is set up with push access because then it allows never rebuilding the same code twice, including code in PRs.
We usually split out CI workflows into jobs corresponding to each dependency, but I've disabled that because without Cachix set up with push access, it introduces inefficiencies.

@Zimmi48
Copy link
Author

Zimmi48 commented Sep 2, 2021

Since GitHub won't automatically trigger these new workflows for me, I'll trigger them on my fork to demonstrate what it does.

@Zimmi48
Copy link
Author

Zimmi48 commented Sep 2, 2021

See https://github.com/Zimmi48/category-theory/actions?query=workflow%3ANix+ for how the generated workflows behave.

@Zimmi48
Copy link
Author

Zimmi48 commented Sep 2, 2021

Note that the CI results when running with Nix confirm not only that category-theory is broken with dev, but also that it is broken with 8.10 (something that was already showing in the Docker-Coq CI).

@Zimmi48 Zimmi48 closed this Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant