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

Provide daily Zig master-based toolset packages #5

Open
alexrp opened this issue Mar 24, 2022 · 5 comments
Open

Provide daily Zig master-based toolset packages #5

alexrp opened this issue Mar 24, 2022 · 5 comments
Assignees
Labels
area: build Issues related to the build system. area: infrastructure Issues related to infrastructure (GitHub, CI, etc). area: toolsets Issues related to compiler toolsets. state: approved Feature requests and housekeeping tasks that have been approved. type: feature Issues that are classified as feature requests.

Comments

@alexrp
Copy link
Sponsor Member

alexrp commented Mar 24, 2022

Download URLs can be determined from: https://ziglang.org/download/index.json

This will allow faster testing of Zig fixes as we no longer have to wait for a release. The package version can just be taken verbatim from the URL above. Note that not all platforms are built daily, so only a subset would be supported.

@alexrp alexrp added area: build Issues related to the build system. area: infrastructure Issues related to infrastructure (GitHub, CI, etc). area: toolsets Issues related to compiler toolsets. state: approved Feature requests and housekeeping tasks that have been approved. type: feature Issues that are classified as feature requests. labels Mar 24, 2022
@alexrp alexrp self-assigned this Mar 24, 2022
@alexrp
Copy link
Sponsor Member Author

alexrp commented Mar 24, 2022

Question: How do we process JSON in MSBuild?

@alexrp alexrp changed the title Provide daily master-based toolset packages Provide daily Zig master-based toolset packages Mar 25, 2022
@alexrp
Copy link
Sponsor Member Author

alexrp commented Dec 31, 2023

Question: How do we process JSON in MSBuild?

https://github.com/devlooped/json

@alexrp
Copy link
Sponsor Member Author

alexrp commented Jan 1, 2024

The only missing piece here is figuring out a central point in the build system where we can fetch index.json once, and set up the package version, download URLs, etc.

@alexrp
Copy link
Sponsor Member Author

alexrp commented Jan 4, 2024

The only missing piece here is figuring out a central point in the build system where we can fetch index.json once, and set up the package version, download URLs, etc.

It could just be a separate project that all the packaging projects are dependent on. The question then is: What incantation or condition should prompt that project to fetch a new index.json? Should it require manual intervention of some kind, a date change, or something else?

@alexrp
Copy link
Sponsor Member Author

alexrp commented Jan 27, 2024

The question then is: What incantation or condition should prompt that project to fetch a new index.json? Should it require manual intervention of some kind, a date change, or something else?

It should probably just always fetch it. This seems like the sensible behavior one would expect for builds based on Zig master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Issues related to the build system. area: infrastructure Issues related to infrastructure (GitHub, CI, etc). area: toolsets Issues related to compiler toolsets. state: approved Feature requests and housekeeping tasks that have been approved. type: feature Issues that are classified as feature requests.
Development

No branches or pull requests

1 participant