ssut / payload-dumper-go

an android OTA payload dumper written in Go
Apache License 2.0
2.36k stars 201 forks source link

Add GitHub Actions #12

Closed luk1337 closed 3 years ago

luk1337 commented 3 years ago

This set of changes adds support for GitHub Actions for push/pull request validation and binary releases on tag creation.

The following GOOS/GOARCH/GOARM combos are supported for binary releases:

Closes: #1 #3 #4 #11

ssut commented 3 years ago

Thank you for your contribution! By the way, I'm not sure if it is possible to add darwin/arm64 build with goreleaser, so could you try to add arm64 into the darwin's goarch list?

luk1337 commented 3 years ago

It'd be possible but we'd need newer macos sdk + also cross compile liblzma for it.

luk1337 commented 3 years ago

arm64 requires macOS 11.0 SDK (or later).https://github.com/tpoechtrager/osxcross/blob/master/README.md

luk1337 commented 3 years ago

Also I already tried sdk from https://github.com/phracker/MacOSX-SDKs and it was missing libc++ headers afaict.

ssut commented 3 years ago

I see. Thank you for checking it. I'm going to merge this PR now anyway.

luk1337 commented 3 years ago

Hmm..I see it failing on '-dynamic' for some reason. I wonder where does it get that from.