From 98b804176844625ea05123ce0386c501a5a3d2a7 Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Mon, 29 Jul 2024 15:59:01 +0100 Subject: [PATCH] Add aarch64 build file This build file, notably, uses ShellCheck v0.10, but is otherwise similar to the other targets. --- appimagecraft-aarch64.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 appimagecraft-aarch64.yml diff --git a/appimagecraft-aarch64.yml b/appimagecraft-aarch64.yml new file mode 100644 index 0000000..47dc9ab --- /dev/null +++ b/appimagecraft-aarch64.yml @@ -0,0 +1,29 @@ +version: 1 + +project: + name: com.github.theassassin.appimagecraft + version_command: cd "$PROJECT_ROOT" && git rev-parse --short HEAD + +build: + null: + +scripts: + post_build: + # note: only using this multiline syntax allows the use of a literal colon in the warning message with PyYAML + - | + wget https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.linux.aarch64.tar.xz -O - | \ + tar xJ -C "$BUILD_DIR" --strip-components=1 + +appimage: + arch: aarch64 + + linuxdeploy: + plugins: + - conda + extra_args: -i "$PROJECT_ROOT"/deployment/appimagecraft.svg -d "$PROJECT_ROOT"/deployment/appimagecraft.desktop --custom-apprun "$PROJECT_ROOT"/deployment/AppRun.sh + environment: + PIP_REQUIREMENTS: . + ARCH: aarch64 + raw_environment: + - PIP_WORKDIR="$PROJECT_ROOT" + - OUTPUT=appimagecraft-"$ARCH".AppImage