nullpo-head / WSL-Hello-sudo

Let's sudo by face recognition of Windows Hello on Windows Subsystem for Linux (WSL). It runs on both WSL 1 and WSL 2. This is a PAM module for Linux on WSL.
MIT License
1.22k stars 46 forks source link

Build with GitHub actions #15

Closed oxc closed 3 years ago

oxc commented 3 years ago

Thank you so much for this project. I personally find binaries more trustworthy, if I can be sure that they have been built from the given source code.

I have created some github actions that will automatically build the project and release a new version (based on conventional commits). This way, everybody who trusts the source and GitHub can trust the binaries. I had to adjust the Makefiles a bit, to support building pam module and windows binaries on different runners, and package them into a release package on yet another.

This includes a change to improve the binary size of the PAM module, and one that commits Cargo.lock to make builds reproducable. Let me know if you prefer the PR with out these changes.

nullpo-head commented 3 years ago

@oxc It's been a while since you sent this PR, but let me say thank you and merge this. Thanks!