swingmx / swingmusic

Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music.
https://swingmx.com
MIT License
755 stars 41 forks source link

ARM64 Binary Release #190

Open ManBearPigg opened 7 months ago

ManBearPigg commented 7 months ago

I built a Swing Music binary for Raspberry Pi OS (on ARM64) because there wasn't one in the releases. I posted my build script in #154 and described the bugs I encountered along the way with Poetry. Poetry is not playing nicely with the Pi at the moment anyways.

So hopefully my comment can be found by any Pi homelabbers trying to build the binary to run dockerless. But an ARM64 binary in the next release would be really nice. One of my favourite features of Swing Music is you can just run one binary and go. It may turn away ARM64 users if building for their architecture is a nightmare because of current Poetry bugs. Would be a shame because this app is great.

Typically people just indicate the architecture in the name of the release file. So swingmusic-arm64 and swingmusic-x86 might be two different release binaries.

Anyways sorry I'm always pestering but I think this could be a quick fix that would get the Pi users on board.

cwilvx commented 7 months ago

@ManBearPigg

Thanks for sharing your build script.

The reason we don't have an ARM64 binary for now is because Github does not have ARM runners which are needed to setup automated releases.

Moving to CircleCI would allow ARM64 binaries and a wide array of other supported architectures, but it's quite some work.

Unless we get a volunteer to move the build setup from Github actions to CircleCI, we'll have to wait until Github adds ARM runners.

ManBearPigg commented 7 months ago

If you like, I could port it, add ARM64 support, document the integration and etc, and create a PR

cwilvx commented 7 months ago

@ManBearPigg

You'd be a life saver. Please go ahead. If you have any questions, you can find us in the Swing Music Community group on Telegram.

Thank you.

cwilvx commented 6 months ago

@ManBearPigg

How is the porting going?

ManBearPigg commented 4 months ago

Github has been teasing the release of Linux ARM runners. It's been in private beta since January 2024. I was waiting hoping that would drop.