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

Build a nightly cosmocc artifact #1254

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Build a nightly cosmocc artifact #1254

merged 2 commits into from
Aug 15, 2024

Conversation

jcbhmr
Copy link
Contributor

@jcbhmr jcbhmr commented Aug 10, 2024

Using https://nightly.link/ with GitHub actions artifacts you can have a nightly build (but not a release -- there's no releasing or pre-releasing happening) of cosmocc.

Example URL if this PR were merged:

https://nightly.link/jart/cosmopolitan/workflows/nightly-cosmocc/master/cosmocc.zip

Or you can just download it directly from the GitHub "Actions" https://github.com/jart/cosmopolitan/actions workflow summary page of a particular run

example from my own fork:

image could download by clicking on the artifact

or by using third-party service to provide a link for unauthenticated requests (like wget or curl)
https://nightly.link/jcbhmr/cosmopolitan/workflows/tool-cosmocc-package-sh/master/cosmocc.zip

this would be useful for users who don't want to or can't figure out how to build cosmocc themselves (like Windows) but still want to use a nightly build since a fix hasn't been released as a release version yet.

this would also be a good way to test the release process but instead of pushing the cosmocc.zip to wherever it goes now you publish it as a github actions artifact for the very few nightly bleeding edge users to use & test.

you don't have to use https://nightly.link or recommend it or anything; i just know its a cool way to wget or curl the URLs instead of downloading it via your browser web UI. particularly useful for remote/ssh/web-ide development.

@G4Vi
Copy link
Collaborator

G4Vi commented Aug 14, 2024

Seems reasonable to me.

Have you sent Justine the copyright assignment email? https://github.com/jart/cosmopolitan/blob/master/CONTRIBUTING.md#copyright-assignment

Copy link
Owner

@jart jart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for copyright

@G4Vi G4Vi merged commit 24666e1 into jart:master Aug 15, 2024
6 checks passed
@jcbhmr jcbhmr deleted the nightly-cosmocc branch August 15, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants