feat(build): allow running build job on separate OS

This should help reduce costs for Apple Silicon builds, as they are not
available on any form of free tier of GitHub Actions at the moment.

The build step that actually runs Emacs' configure script, and compiles
Emacs, is the only step that actually needs to run on the target
hardware architecture. The rest should be architecture agnostic.
This commit is contained in:
2023-11-19 00:05:04 +00:00
parent e65fc8f4f0
commit ff1b573f43
4 changed files with 34 additions and 5 deletions

View File

@@ -7,7 +7,8 @@ on:
os:
description: GitHub Actions runner OS
type: string
required: true
required: false
default: "macos-11"
plan_artifact:
description: Name of artifact containing a emacs-builder plan yaml file
type: string