mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
chore: Update alpha-build.sh script to handle xvfb-run not found and enable lazy loading for images
This commit is contained in:
2
.github/workflows/src/alpha-build.sh
vendored
2
.github/workflows/src/alpha-build.sh
vendored
@@ -15,7 +15,7 @@ then
|
||||
Xvfb :2 -screen 0 1024x768x24 &
|
||||
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
|
||||
export DISPLAY=:2
|
||||
pnpm build
|
||||
pnpm build -d
|
||||
else
|
||||
echo "Xvfb could not be found, running without it"
|
||||
echo "ASSUMING YOU ARE RUNNING THIS ON MACOS"
|
||||
|
9
.github/workflows/src/windows_mozconfig
vendored
9
.github/workflows/src/windows_mozconfig
vendored
@@ -26,14 +26,7 @@ export WINE="$TOOLS/wine/bin/wine64"
|
||||
|
||||
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
|
||||
|
||||
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-accessibility
|
||||
|
||||
ac_add_options --disable-bits-download
|
||||
|
||||
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
|
||||
|
||||
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
|
@@ -58,17 +58,15 @@ if test "$ZEN_RELEASE"; then
|
||||
ac_add_options --disable-profiling
|
||||
ac_add_options --disable-rust-tests
|
||||
|
||||
if ! test "$ZEN_CROSS_COMPILING"; then
|
||||
export MOZ_LTO=full
|
||||
ac_add_options MOZ_LTO=full
|
||||
ac_add_options --enable-lto=full
|
||||
ac_add_options --enable-jemalloc
|
||||
fi
|
||||
export MOZ_LTO=full
|
||||
ac_add_options MOZ_LTO=full
|
||||
ac_add_options --enable-lto=full
|
||||
ac_add_options --enable-jemalloc
|
||||
|
||||
mk_add_options MOZILLA_OFFICIAL=1
|
||||
|
||||
MOZILLA_OFFICIAL=1
|
||||
export MOZILLA_OFFICIAL=1
|
||||
|
||||
mk_add_options MOZ_OPTIMIZE=1
|
||||
MOZ_OPTIMIZE=1
|
||||
export MOZ_OPTIMIZE=1
|
||||
@@ -97,5 +95,4 @@ fi
|
||||
|
||||
export MOZ_APP_UA_NAME="Firefox"
|
||||
|
||||
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
|
||||
|
||||
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
|
Reference in New Issue
Block a user