From 0ad6bae315aec00e23f920149838d85a73d6b1b7 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Fri, 19 Sep 2025 15:23:23 +1000 Subject: [PATCH] ci: Fix shasum wrapper - perl-digest-sha didn't provide shasum command - The perl-digest-sha package didn't actually install shasum command - Back to the working echo-based wrapper approach - Uses simple echo commands to avoid YAML parsing issues - This creates the same shasum wrapper that worked before - Should resolve the 'shasum: command not found' error and create AppImage --- .gitlab-ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01280541c..6169d361f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,8 +39,15 @@ build-linux: - pacman -S --noconfirm nasm - pacman -S --noconfirm glslang - pacman -S --noconfirm fuse2 gdb - # Install shasum for AppImage compatibility - - pacman -S --noconfirm perl-digest-sha + # Create shasum compatibility wrapper for AppImage build + - echo '#!/bin/bash' > /usr/local/bin/shasum + - echo 'if [ "$1" = "-a" ] && [ "$2" = "256" ]; then' >> /usr/local/bin/shasum + - echo ' shift 2' >> /usr/local/bin/shasum + - echo ' sha256sum "$@"' >> /usr/local/bin/shasum + - echo 'else' >> /usr/local/bin/shasum + - echo ' sha256sum "$@"' >> /usr/local/bin/shasum + - echo 'fi' >> /usr/local/bin/shasum + - chmod +x /usr/local/bin/shasum script: - git submodule update --init --recursive - mkdir -p build && cd build