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: produce new tarballs for the CI in addition to binary tarballs for the download page #227

Open
andrewrk opened this issue Dec 9, 2022 · 0 comments

Comments

@andrewrk
Copy link
Member

andrewrk commented Dec 9, 2022

Right now, build-tarballs CI script creates tarballs & zip files for the download page. As part of this process, it uses zig-bootstrap to compile LLVM, Clang, LLD, and Zig for various targets.

After it finishes doing these things, it would be just one more small extra step to bundle up a different set of tarballs which could be used to update the CI to a new LLVM or zig cc version. This would save some manual labor, usually done by yours truly, every time we need to make these updates.

Instead of uploading these tarballs to ziglang.org/deps/ like I do currently, instead this process could more simply store the most recent ones on the local filesystem, and delete the older ones, capping out at a total of 20 files or something like this. This would save bandwidth costs since we don't really want to update the CI to new tarballs with every commit. The process to update the CI based on these files on the local filesystem would still be manual, but it would not require building LLVM N times on my dev machine.

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

No branches or pull requests

1 participant