mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-08 04:47:13 +00:00
chore: Update alpha-build.sh script to handle xvfb-run not found and disable profiling
This commit is contained in:
1
.github/workflows/src/alpha-build.sh
vendored
1
.github/workflows/src/alpha-build.sh
vendored
@@ -11,6 +11,7 @@ fi
|
||||
# Check if xfvb is installed
|
||||
if ! command -v Xvfb &> /dev/null
|
||||
then
|
||||
ulimit -n 4096
|
||||
Xvfb :2 -screen 0 1024x768x24 &
|
||||
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
|
||||
export DISPLAY=:2
|
||||
|
||||
1
.github/workflows/src/windows_mozconfig
vendored
1
.github/workflows/src/windows_mozconfig
vendored
@@ -30,6 +30,7 @@ ac_add_options --enable-default-browser-agent
|
||||
ac_add_options --enable-install-strip
|
||||
ac_add_options --enable-jxl
|
||||
ac_add_options --disable-maintenance-service
|
||||
ac_add_options --disable-profiling
|
||||
|
||||
ac_add_options --disable-bits-download
|
||||
|
||||
|
||||
@@ -64,6 +64,10 @@ if test "$ZEN_RELEASE"; then
|
||||
export MOZ_LTO=full
|
||||
ac_add_options MOZ_LTO=full
|
||||
ac_add_options --enable-lto=full
|
||||
else
|
||||
export MOZ_LTO=cross,full
|
||||
ac_add_options MOZ_LTO=cross,full
|
||||
ac_add_options --enable-lto=cross,full
|
||||
fi
|
||||
|
||||
mk_add_options MOZILLA_OFFICIAL=1
|
||||
|
||||
Reference in New Issue
Block a user