mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-24 23:28:55 +00:00
chore: Update Xvfb installation in alpha-build.sh to only run if not cross-compiling
This commit is contained in:
9
.github/workflows/src/alpha-build.sh
vendored
9
.github/workflows/src/alpha-build.sh
vendored
@@ -13,9 +13,12 @@ ulimit -n 4096
|
||||
# Check if xfvb is installed
|
||||
if ! command -v Xvfb &> /dev/null
|
||||
then
|
||||
Xvfb :2 -screen 0 1024x768x24 &
|
||||
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
|
||||
export DISPLAY=:2
|
||||
if ! test "$ZEN_CROSS_COMPILING"
|
||||
then
|
||||
Xvfb :2 -screen 0 1024x768x24 &
|
||||
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
|
||||
export DISPLAY=:2
|
||||
fi
|
||||
pnpm build
|
||||
else
|
||||
echo "Xvfb could not be found, running without it"
|
||||
|
||||
3
.github/workflows/src/windows_mozconfig
vendored
3
.github/workflows/src/windows_mozconfig
vendored
@@ -30,13 +30,14 @@ export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
|
||||
|
||||
ac_add_options --disable-maintenance-service
|
||||
ac_add_options --disable-bits-download
|
||||
ac_add_options --disable-profiling
|
||||
|
||||
if test "$ZEN_GA_GENERATE_PROFILE"; then
|
||||
mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
|
||||
ac_add_options --enable-profile-generate=cross
|
||||
ac_add_options --without-wasm-sandboxed-libraries
|
||||
ac_add_options --enable-proxy-bypass-protection
|
||||
else
|
||||
ac_add_options --disable-profiling
|
||||
ac_add_options --enable-profile-use=cross
|
||||
ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged.profdata
|
||||
ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US.log
|
||||
|
||||
Reference in New Issue
Block a user