Hammer2900 / _builder

Builds aseprite using GitHub actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is it !!!!

Automated workflow for GitHub Actions which builds Aseprite for Windows, Linux, macOS.
By using GitHub actions there is no need for manual compilation and it does not contain malware.
To adhere to the EULA of Aseprite, this workflow does not upload the binary in a public accessible space like artifacts.
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

  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.
Different Operating Systems costs different amounts of minutes, see billing for GitHub Actions
So building for all three Operating Systems will cost 130 minutes (20 * 2+10 * 1+8 * 10)
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

Support Aseprite

Keep supporting Aseprite at https://aseprite.org/#buy

About

Builds aseprite using GitHub actions

License:MIT License