Using GitHub Actions and Anka Build
The github runner does not have an ARM version available but you can run the x64 without issue through Apple’s rosetta.
The Anka VM GitHub Action provides a quick way to integrate Anka with GitHub Actions. The plugin helps your self-hosted GitHub runners prepare Anka VM instances for building, testing, and more. Keep in mind that it works differently than our other plugins or integrations for Anka Build Cloud. It will not start VM instances using your Anka Build Cloud Controller and instead connect directly to an unused Node to prepare the VM and execute commands.
VM Template & Tag Requirements
- There are no current requirements
Install and Configure GitHub Self-Hosted Runners
Setup a runner per VM you wish to run. So, for example, if you’re planning on running a maximum of two VMs on your node, you’d need two self-hosted runners.
- Once you’ve confirmed that you can see the runner as Idle in GitHub, it’s ready to start processing jobs.
Pipeline Step Definition
An example workflow .yml can be found in the Anka VM GitHub Action README.
Release notes for the Anka Github Action can be found on Github.