mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 14:00:18 +00:00
add release assets workflow
This commit is contained in:
17
hack/assemble.sh
Executable file
17
hack/assemble.sh
Executable 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
|
||||
Reference in New Issue
Block a user