mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-16 16:44:07 +00:00
chore: Update alpha-build.sh script to handle xvfb-run not found and enable LTO only when not cross-compiling
This commit is contained in:
5
.github/workflows/src/alpha-build.sh
vendored
5
.github/workflows/src/alpha-build.sh
vendored
@@ -3,8 +3,9 @@ export ZEN_RELEASE=1
|
||||
# Check if xfvb is installed
|
||||
if ! command -v xvfb-run &> /dev/null
|
||||
then
|
||||
echo "xvfb-run could not be found, running without it"
|
||||
pnpm build
|
||||
echo "xvfb-run could not be found, running without it"
|
||||
pnpm build
|
||||
else
|
||||
export DISPLAY=:2
|
||||
xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" pnpm build
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user