chore: Update build workflows and mozconfig files

This commit is contained in:
Mauro Balades
2024-07-21 11:54:54 +02:00
parent b9b8d161f3
commit acb1750bba
4 changed files with 7 additions and 7 deletions

View File

@@ -8,10 +8,11 @@ then
sudo apt-get install -y xvfb
fi
ulimit -n 4096
# 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

View File

@@ -30,8 +30,10 @@ 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
else
ac_add_options --enable-profile-use=cross