add release assets workflow

This commit is contained in:
2025-10-19 01:08:03 -07:00
parent a7098cfc20
commit 232efc2859
7 changed files with 92 additions and 1 deletions

17
hack/assemble.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
set -e
cd "$(dirname "${0}")/.." || exit 1
. "hack/common.sh"
mkdir -p "${ASSEMBLE_DIR}"
build_arch() {
ARCHITECTURE="${1}"
TARGET_ARCH="${ARCHITECTURE}" ./hack/build.sh
cp "target/final/${ARCHITECTURE}/sprout.efi" "${ASSEMBLE_DIR}/sprout-${ARCHITECTURE}.efi"
}
build_arch x86_64
build_arch aarch64