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

Automate build using GH actions #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

yanntm
Copy link

@yanntm yanntm commented Apr 7, 2023

This patch lets us build smart/meddly automatically using GitHub Actions.

It contributes :

  • the .gihtub/ folder with the actual build scripts. Critical file is "linux.yml"
  • edited some configure.ac and Makefile.am to force static build. This means smart binary is standalone instead of carrying a dependency to libmeddly.so
  • minor patch to one file that was blocking compilation

So with this patch, any time we commit to master branch of smart, a binary is rebuilt and deployed to "linux" branch of the repo, ready for download. I do have similar scripts for osx/win if you'd like to have those too.

Have a look at the Actions tab here to get an idea of the result
https://github.com/yanntm/smart/actions
And of course the actual smart binary built here : https://github.com/yanntm/smart/raw/linux/smart

Hope you like it !

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.

1 participant