mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-22 07:15:41 +00:00
chore: Set ZEN_RELEASE environment variable for surfer build
This commit is contained in:
4
.github/workflows/alpha.yml
vendored
4
.github/workflows/alpha.yml
vendored
@@ -524,7 +524,9 @@ jobs:
|
||||
cd ..
|
||||
|
||||
- name: surfer build
|
||||
run: pnpm build --verbose
|
||||
run: |
|
||||
export ZEN_RELEASE=1
|
||||
pnpm build --verbose
|
||||
|
||||
- name: Package
|
||||
run: pnpm package
|
||||
|
||||
@@ -29,19 +29,22 @@ export MOZ_SOURCE_CHANGESET=${changeset}
|
||||
ac_add_options --enable-bootstrap
|
||||
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --enable-hardening
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --with-ccache=sccache
|
||||
ac_add_options --disable-debug
|
||||
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-dmd
|
||||
ac_add_options --disable-geckodriver
|
||||
ac_add_options --disable-parental-controls
|
||||
ac_add_options --disable-profiling
|
||||
ac_add_options --disable-tests
|
||||
if test "$ZEN_RELEASE"; then
|
||||
ac_add_options --enable-hardening
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --with-ccache=sccache
|
||||
ac_add_options --disable-debug
|
||||
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-dmd
|
||||
ac_add_options --disable-geckodriver
|
||||
ac_add_options --disable-parental-controls
|
||||
ac_add_options --disable-profiling
|
||||
ac_add_options --disable-tests
|
||||
fi
|
||||
|
||||
ac_add_options --enable-unverified-updates
|
||||
ac_add_options --enable-updater
|
||||
@@ -51,7 +54,5 @@ ac_add_options --without-wasm-sandboxed-libraries
|
||||
export MOZ_REQUIRE_SIGNING=
|
||||
export MOZ_TELEMETRY_REPORTING=
|
||||
|
||||
ac_add_options --target=x86_64-pc-linux-gnu
|
||||
|
||||
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
|
||||
|
||||
|
||||
@@ -25,3 +25,5 @@ fi
|
||||
# Disable telemetry and tracking
|
||||
mk_add_options MOZ_TELEMETRY_REPORTING=
|
||||
mk_add_options MOZ_DATA_REPORTING=
|
||||
|
||||
ac_add_options --target=x86_64-pc-linux-gnu
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
# Optimise builds
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --enable-hardening
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --with-ccache=sccache
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --enable-updater
|
||||
mk_add_options MOZ_MAKE_FLAGS="-j4"
|
||||
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
|
||||
|
||||
# Disable telemetry and tracking
|
||||
mk_add_options MOZ_TELEMETRY_REPORTING=
|
||||
mk_add_options MOZ_DATA_REPORTING=
|
||||
if test "$ZEN_RELEASE"; then
|
||||
ac_add_options --enable-optimize="-mcpu=apple-m1 -O3 -w"
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options RUSTC_OPT_LEVEL=3
|
||||
export MOZILLA_OFFICIAL=1
|
||||
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=apple-m1"
|
||||
fi
|
||||
|
||||
ac_add_options --enable-install-strip
|
||||
ac_add_options --target=aarch64-apple-darwin
|
||||
mk_add_options AUTOCLOBBER=1
|
||||
export MOZ_INCLUDE_SOURCE_INFO=1
|
||||
|
||||
Reference in New Issue
Block a user