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

11
hack/build.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
cd "$(dirname "${0}")/.." || exit 1
. "hack/common.sh"
mkdir -p "${FINAL_DIR}"
cargo build --target "${RUST_TARGET}" --profile "${RUST_PROFILE}" --bin sprout
cp "target/${RUST_TARGET}/${RUST_TARGET_SUBDIR}/sprout.efi" "${FINAL_DIR}/sprout.efi"