mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-21 15:59:42 +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:
6
.github/workflows/src/alpha-build.sh
vendored
6
.github/workflows/src/alpha-build.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user