From e3c465b59acbf7476378cdbf101714fe06a9761c Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Sat, 20 Jul 2024 02:07:39 +0200 Subject: [PATCH] chore: Update alpha-build.sh script to handle xvfb-run not found and enable LTO only when not cross-compiling --- .github/workflows/src/alpha-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/src/alpha-build.sh b/.github/workflows/src/alpha-build.sh index c7cc5a2da..2093036ca 100644 --- a/.github/workflows/src/alpha-build.sh +++ b/.github/workflows/src/alpha-build.sh @@ -2,10 +2,10 @@ set -x export ZEN_RELEASE=1 -if command -v apt &> /dev/null +if command -v apt-get &> /dev/null then - sudo apt update - sudo apt install -y xvfb + sudo apt-get update + sudo apt-get install -y xvfb fi # Check if xfvb is installed