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

feat: add android arm64 build #479

Merged
merged 2 commits into from
Nov 9, 2024

Conversation

alcpereira
Copy link
Contributor

@alcpereira alcpereira commented Nov 9, 2024

Summary

Should fix #249, #304 and #468 🤞

I also added in this PR two small fixes:

  • YAML formatting due to the schema.json was complaining about goarm being a list of integer and not strings
  • A deprecation notice regarding snapshot.name_template
image

How did you test this change?

I cannot properly test it due to my OS/Arch, but feel free to do a pre-release and ask for feedback in those issues.

Build seems to work fine on my machine:

> goreleaser release --snapshot --clean
  • skipping announce, publish and validate...
  • cleaning distribution directory
  • loading environment variables
  • getting and validating git state
    • git state                                      commit=cbe0aef1d6c8bc8c331d8f6b4d8df554931a876d branch=feat/support-android-arm current_tag=v4.7.1 previous_tag=v4.7.0 dirty=true
    • pipe skipped                                   reason=disabled during snapshot mode
  • parsing tag
  • setting defaults
  • snapshotting
    • building snapshot...                           version=4.7.2-next
  • running before hooks
    • running                                        hook=go mod tidy
  • ensuring distribution directory
  • setting up metadata
  • writing release metadata
  • loading go mod information
  • build prerequisites
  • checking go.mod
  • building binaries
    • building                                       binary=dist/gh-dash_linux_arm_7/gh-dash
    • building                                       binary=dist/gh-dash_freebsd_arm_7/gh-dash
    • building                                       binary=dist/gh-dash_freebsd_amd64_v1/gh-dash
    • building                                       binary=dist/gh-dash_freebsd_arm64_v8.0/gh-dash
    • building                                       binary=dist/gh-dash_freebsd_arm_6/gh-dash
    • building                                       binary=dist/gh-dash_android_arm64_v8.0/gh-dash
    • building                                       binary=dist/gh-dash_linux_arm_6/gh-dash
    • building                                       binary=dist/gh-dash_linux_arm64_v8.0/gh-dash
    • building                                       binary=dist/gh-dash_freebsd_386_sse2/gh-dash
    • building                                       binary=dist/gh-dash_linux_amd64_v1/gh-dash
    • building                                       binary=dist/gh-dash_linux_386_sse2/gh-dash
    • building                                       binary=dist/gh-dash_windows_amd64_v1/gh-dash.exe
    • building                                       binary=dist/gh-dash_windows_arm64_v8.0/gh-dash.exe
    • building                                       binary=dist/gh-dash_windows_arm_6/gh-dash.exe
    • building                                       binary=dist/gh-dash_windows_arm_7/gh-dash.exe
    • building                                       binary=dist/gh-dash_windows_386_sse2/gh-dash.exe
    • building                                       binary=dist/gh-dash_darwin_amd64_v1/gh-dash
    • building                                       binary=dist/gh-dash_darwin_arm64_v8.0/gh-dash
  • archives
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_freebsd-arm_6
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_linux-arm_6
    • skip archiving                                 binary=gh-dash.exe name=gh-dash_v4.7.1_windows-386.exe
    • skip archiving                                 binary=gh-dash.exe name=gh-dash_v4.7.1_windows-arm_6.exe
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_darwin-amd64
    • skip archiving                                 binary=gh-dash.exe name=gh-dash_v4.7.1_windows-arm_7.exe
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_freebsd-arm64
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_linux-arm_7
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_linux-amd64
    • skip archiving                                 binary=gh-dash.exe name=gh-dash_v4.7.1_windows-arm64.exe
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_android-arm64
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_freebsd-386
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_linux-arm64
    • skip archiving                                 binary=gh-dash.exe name=gh-dash_v4.7.1_windows-amd64.exe
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_freebsd-amd64
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_freebsd-arm_7
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_linux-386
    • skip archiving                                 binary=gh-dash name=gh-dash_v4.7.1_darwin-arm64
  • calculating checksums
  • writing artifacts metadata
  • release succeeded after 10s
  • thanks for using goreleaser!

@alcpereira alcpereira changed the title feat: add android os build feat: add android arm64 build Nov 9, 2024
@dlvhdr
Copy link
Owner

dlvhdr commented Nov 9, 2024

Amazing thank you!

@dlvhdr dlvhdr merged commit 1444655 into dlvhdr:main Nov 9, 2024
2 checks 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.

Support android-arm64
2 participants