mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 03:18:19 +00:00
chore: Update build workflows and mozconfig files
This commit is contained in:
3
.github/workflows/src/alpha-build.sh
vendored
3
.github/workflows/src/alpha-build.sh
vendored
@@ -8,10 +8,11 @@ then
|
|||||||
sudo apt-get install -y xvfb
|
sudo apt-get install -y xvfb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ulimit -n 4096
|
||||||
|
|
||||||
# Check if xfvb is installed
|
# Check if xfvb is installed
|
||||||
if ! command -v Xvfb &> /dev/null
|
if ! command -v Xvfb &> /dev/null
|
||||||
then
|
then
|
||||||
ulimit -n 4096
|
|
||||||
Xvfb :2 -screen 0 1024x768x24 &
|
Xvfb :2 -screen 0 1024x768x24 &
|
||||||
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
|
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
|
||||||
export DISPLAY=:2
|
export DISPLAY=:2
|
||||||
|
2
.github/workflows/src/windows_mozconfig
vendored
2
.github/workflows/src/windows_mozconfig
vendored
@@ -30,8 +30,10 @@ export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
|
|||||||
|
|
||||||
ac_add_options --disable-maintenance-service
|
ac_add_options --disable-maintenance-service
|
||||||
ac_add_options --disable-bits-download
|
ac_add_options --disable-bits-download
|
||||||
|
ac_add_options --disable-profiling
|
||||||
|
|
||||||
if test "$ZEN_GA_GENERATE_PROFILE"; then
|
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 --enable-profile-generate=cross
|
||||||
else
|
else
|
||||||
ac_add_options --enable-profile-use=cross
|
ac_add_options --enable-profile-use=cross
|
||||||
|
1
.github/workflows/windows-alpha-build.yml
vendored
1
.github/workflows/windows-alpha-build.yml
vendored
@@ -63,7 +63,6 @@ jobs:
|
|||||||
path: ${HOME}/win-cross
|
path: ${HOME}/win-cross
|
||||||
key: clang-17
|
key: clang-17
|
||||||
|
|
||||||
|
|
||||||
- name: Configure sccache
|
- name: Configure sccache
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
|
@@ -18,7 +18,7 @@ export MOZ_MACBUNDLE_NAME="Zen Browser.app"
|
|||||||
|
|
||||||
# Uncomment if builds are too resource hungry
|
# Uncomment if builds are too resource hungry
|
||||||
# mk_add_options MOZ_MAKE_FLAGS="-j4"
|
# mk_add_options MOZ_MAKE_FLAGS="-j4"
|
||||||
#ac_add_options --enable-linker=gold
|
ac_add_options --enable-linker=gold
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
export MOZ_STUB_INSTALLER=1
|
export MOZ_STUB_INSTALLER=1
|
||||||
@@ -77,10 +77,8 @@ if test "$ZEN_RELEASE"; then
|
|||||||
ac_add_options RUSTC_OPT_LEVEL="3"
|
ac_add_options RUSTC_OPT_LEVEL="3"
|
||||||
|
|
||||||
# PGO may cause link errors on windows!
|
# PGO may cause link errors on windows!
|
||||||
if ! test "$ZEN_CROSS_COMPILING"; then
|
|
||||||
export MOZ_PGO=1
|
export MOZ_PGO=1
|
||||||
ac_add_options MOZ_PGO=1
|
ac_add_options MOZ_PGO=1
|
||||||
fi
|
|
||||||
|
|
||||||
mk_add_options 'export RUSTC_WRAPPER=/home/runner/.mozbuild/sccache/sccache'
|
mk_add_options 'export RUSTC_WRAPPER=/home/runner/.mozbuild/sccache/sccache'
|
||||||
mk_add_options 'export CCACHE_CPP2=yes'
|
mk_add_options 'export CCACHE_CPP2=yes'
|
||||||
|
Reference in New Issue
Block a user