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 makefile to cross-compile eat for all os architures #7

Conversation

Tomilla
Copy link
Contributor

@Tomilla Tomilla commented Jul 18, 2024

1 Introduce

Right now there is no workflow for this project that automatically builds executables for all operating systems and architectures when a new version is released.

This is very important for those non-expert users (e.g. testers), we can't assume that all end-users are willing to clone the project locally and compile the desired platform artifacts themselves.

2 Features

I added makefile and github workflows for auto build artifacts in local and remote respectively.

2.1 add Makefile

build in local

image

2.2 add GitHub workflow

build in remote (via Github Action, just one click to run)

image

R6ioFckH07

2.3 add build time and hash

  • inject build time and hash when building exe(from git commit of current branch): for better issue report and troubleshot

image

Release Preview

Note: the workflow will also generate release note from commits between current version and last version.

image

Now you can easily share eat with your friends or coworkers, privately or publicly. :)

@shawn-bluce shawn-bluce self-requested a review July 19, 2024 08:13
@shawn-bluce shawn-bluce merged commit ec1c088 into shawn-bluce:master Jul 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants