mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-06 21:37:50 +00:00
chore: Update build process to use alpha-build.sh script
This commit is contained in:
11
.github/workflows/alpha.yml
vendored
11
.github/workflows/alpha.yml
vendored
@@ -202,9 +202,7 @@ jobs:
|
||||
cd ..
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
export ZEN_RELEASE=1
|
||||
pnpm build
|
||||
run: sh .github/workflows/src/alpha-build.sh
|
||||
|
||||
- name: Package
|
||||
run: pnpm package
|
||||
@@ -327,9 +325,8 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
unset SURFER_PLATFORM
|
||||
export ZEN_RELEASE=1
|
||||
export ZEN_CROSS_COMPILING=1
|
||||
pnpm build
|
||||
sh .github/workflows/src/alpha-build.sh
|
||||
|
||||
- name: Package
|
||||
run: |
|
||||
@@ -492,9 +489,7 @@ jobs:
|
||||
cd ..
|
||||
|
||||
- name: surfer build
|
||||
run: |
|
||||
export ZEN_RELEASE=1
|
||||
pnpm build --verbose
|
||||
run: sh .github/workflows/src/alpha-build.sh
|
||||
|
||||
- name: Package
|
||||
run: pnpm package
|
||||
|
||||
3
.github/workflows/src/alpha-build.sh
vendored
Normal file
3
.github/workflows/src/alpha-build.sh
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
export ZEN_RELEASE=1
|
||||
xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" pnpm build
|
||||
@@ -39,6 +39,8 @@ if test "$ZEN_RELEASE"; then
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-debug-symbols
|
||||
ac_add_options --disable-debug-js-modules
|
||||
ac_add_options --disable-debug-modules
|
||||
ac_add_options --disable-debugger-info-modules
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --enable-strip
|
||||
ac_add_options --enable-install-strip
|
||||
@@ -62,8 +64,10 @@ if test "$ZEN_RELEASE"; then
|
||||
ac_add_options --disable-dmd
|
||||
ac_add_options --disable-geckodriver
|
||||
ac_add_options --disable-profiling
|
||||
ac_add_options --disable-rust-tests
|
||||
|
||||
ac_add_options --enable-lto
|
||||
ac_add_options MOZ_LTO=full
|
||||
ac_add_options --enable-lto=full
|
||||
|
||||
mk_add_options MOZILLA_OFFICIAL=1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user