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

Installing graphicsmagick and imagemagick for the dmg icon generation in Github Actions is unbearably slow #57

Open
bjesuiter opened this issue Jun 19, 2020 · 3 comments

Comments

@bjesuiter
Copy link

I integrated your create-dmg tool into my github actions workflow:
https://github.com/bjesuiter/macos-file-summoner/blob/master/.github/workflows/go.yml

However, when installing imagemagic and graphicsmagick, the automated build takes ages longer than without them, because they are so big.

I tried to combat this by using gihub cache actions and caching the homebrew cache dir, but since this thing has 2,4 gb this is also painfully slow.

Could you implement another solution which is more lightweight to update this dmg icon?

@bjesuiter
Copy link
Author

Please see this run of the workflow for checking homebrew cache sizes and timings:
https://github.com/bjesuiter/macos-file-summoner/runs/789695326?check_suite_focus=true

(This run threw an error because of a missing code signing identity, but I simply forgot to load my dev identity there)

@sindresorhus
Copy link
Owner

Yes, it could be implemented as a simple Swift binary using CoreGraphics. However, it’s not something I have time to work on, but pull request welcome.

@bjesuiter
Copy link
Author

Thanks for looking into the issue! Unfortunately, I don't have any experience with swift, I recently started with this File Summoner App written in go and packaged manually as MacOS App Package.

But maybe this can be my starting point with swift 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants