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

CI: Use a script to generate the build matrix #964

Open
RyanGlScott opened this issue Apr 21, 2022 · 1 comment
Open

CI: Use a script to generate the build matrix #964

RyanGlScott opened this issue Apr 21, 2022 · 1 comment
Labels

Comments

@RyanGlScott
Copy link
Contributor

Currently, we copy-paste a nearly-identical build matrix across five different CI workflows, which is tedious to maintain. It would likely save us time in the long run to instead generate build matrices using JSON, as described in this GitHub Actions documentation. We've already done something similar for what4 here.

@langston-barrett
Copy link
Contributor

There are also repeated bits of setup within the CI workflow that would be nice to abstract away, see this discussion for an example:

(cd crucible; with_ghc ghc -o $(setup_bin) $(setup_src) && ./$(setup_bin) clean)
(cd crucible-llvm; with_ghc ghc -o $(setup_bin) $(setup_src) && ./$(setup_bin) clean)
(cd crux; with_ghc ghc -o $(setup_bin) $(setup_src) && ./$(setup_bin) clean)
(cd crux-llvm; with_ghc ghc -o $(setup_bin) $(setup_src) && ./$(setup_bin) clean)
(cd uc-crux-llvm; with_ghc ghc -o $(setup_bin) $(setup_src) && ./$(setup_bin) clean)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants