forked from pedroterzero/aseprite_builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ab8cca
commit 081729b
Showing
1 changed file
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,44 @@ | ||
# aseprite_builder | ||
Builds aseprite using GitHub actions | ||
# What is it | ||
Automated workflow for GitHub Actions which builds Aseprite for Windows, Linux, macOS.</br> | ||
By using GitHub actions there is no need for manual compilation and it does not contain malware.</br> | ||
To adhere to the EULA of Aseprite, this workflow does not upload the binary in a public accessible space like artifacts.</br> | ||
The release can be found within the releases as a draft (only visible for repo owner). | ||
|
||
# How to use | ||
1. Clone or fork this repo | ||
2. Edit /.github/workflows/aseprite_build_deploy.yml | ||
3. Find and edit the **os** line and remove the os you don't need. | ||
|
||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macOS-latest] | ||
4. Save and commit. | ||
5. On every push to master and every day, the workflow will check for new Aseprite releases | ||
|
||
# Technical details | ||
This workflow follows the instructions as described at [Aseprite repo](https://github.com/aseprite/aseprite/blob/master/INSTALL.md) | ||
|
||
1. Every day check if there is a new Aseprite release on GitHub (by comparing against cached version) | ||
2. If newer version then create a draft Release where the build job can put the binaries. | ||
3. Start building | ||
4. Get Skia from cache, if not in cache then download it | ||
5. Use CMake and Ninja to compile | ||
6. Create zip of release and upload to draft Release from step 2 | ||
|
||
# Build times | ||
Every month you have 2000 free minutes from GitHub.</br> | ||
Different Operating Systems costs different amounts of minutes, see [billing for GitHub Actions](https://help.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions#about-billing-for-github-actions)</br> | ||
So building for all three Operating Systems will cost 130 minutes (20 * 2+10 * 1+8 * 10)</br> | ||
That is why we recommend you to modify the **os** line to only build for the OS that you need. | ||
|Operating System|Minutes|Minute multiplier | ||
|---|---|---| | ||
|Windows|20|2| | ||
|Ubuntu|10|1| | ||
|macOS|8|10| | ||
|
||
# References to other Aseprite builders | ||
- https://github.com/haxpor/aseprite-macos-buildsh => Script which lets you build automatically on macOS | ||
- https://github.com/Insouciant21/action_aseprite => Uses GitHub Actions, but currently has unoptimized binaries and these are publicly available which goes against Aseprite EULA | ||
|
||
# Support Aseprite | ||
Keep supporting Aseprite at https://aseprite.org/#buy |