squalou / google-chat-linux

source of a fork of google-chat-linux unofficial client from robyf
50 stars 10 forks source link

Add deb package for arm64 #68

Open SmartLayer opened 1 year ago

SmartLayer commented 1 year ago

Currently, to build a deb package for arm64, on an arm64 Linux (in my case, Ubuntu 23.10), one has to run

$ gem install fpm $ USE_SYSTEM_FPM="true" to npm run dist:deb

this is because the default behaviour is to download fpm binary and execute it, and such downloaded fpm is always in x64 format.

squalou commented 1 year ago

Hi, I'm not sure it's possible using github build resources, I had a quick look here and didn't find arm runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

I sadly don't even have any arm hardware handy to try locally if it would work.

SmartLayer commented 7 months ago

@squalou here you are the arm64 build https://computer.graphic.and.cryptographic.technology/ann/google-chat-linux_5.27.23-6_amd64.deb

I hope there is a way for you to auto build it, because WebCord could, there must be a way. They use electron-forge though.

SmartLayer commented 7 months ago

Btw, why do you call this project google-chat-linux if it is cross platform and has windows .exe build?

squalou commented 7 months ago

Btw, why do you call this project google-chat-linux if it is cross platform and has windows .exe build?

That's a long story that sums up as this :

And never changed the name ever since. Now these colleagues have a "linux" something on their PC, even if it's just a name :) + to be honest I'm not sure anyone is still using it / if it really works fine.

squalou commented 7 months ago

@squalou here you are the arm64 build https://computer.graphic.and.cryptographic.technology/ann/google-chat-linux_5.27.23-6_amd64.deb

I hope there is a way for you to auto build it, because WebCord could, there must be a way. They use electron-forge though.

Great news !

I'll give it a try, I never checked if ARM was supported by github actions, time to learn !