-
Notifications
You must be signed in to change notification settings - Fork 10
Description
i'm starting a branch on my fork for this.
one solution
cp hs-to-coq.yml hs-to-coq-nix.yml and replace stack-built executable with nix-built executable in hs-to-coq-nix.yml when it tests that examples work as expected, duplicating code (not ideal).
Another solution
breaking out into precheck.yml and calling that job from both hs-to-coq-stack.yml and hs-to-coq-nix.yml, to replicate the basic conditional logic about not running jobs if relevant files weren't edited. In general, it's possible that a .yml file well under 430 lines would be easier to reason about.
galaxybrained best solution?
a stack process and a nix process each build an executable, and those two executables are input to one job sequence, which runs once for the stack-built executable and once for the nix-built executable. I don't know how to do this, off the top of my head.
passing in a ghcVersion argument to .nix should be a pretty easy way for the nix side of ci to improve upon the #200 situation.