refactor: Update alpha.yml workflow to use flat-manager v6.1 for uploading flatpak bundle

This commit is contained in:
Mauro Balades
2024-07-26 09:19:18 +02:00
parent 5c5608938d
commit 22dfa8daec
4 changed files with 32 additions and 30 deletions

View File

@@ -184,26 +184,26 @@ jobs:
name: zen.source.tar.gz
path: ./zen.source.tar.gz
#windows-step-1:
# name: Windows build step 1 (PGO build)
# uses: ./.github/workflows/windows-alpha-build.yml
# needs: [build-data]
# permissions:
# contents: write
# with:
# build-version: ${{ needs.build-data.outputs.version }}
# generate-gpo: true
# profile-data-path-archive: zen-windows-x86_64-profile-data-and-jarlog.zip
windows-step-1:
name: Windows build step 1 (PGO build)
uses: ./.github/workflows/windows-alpha-build.yml
needs: [build-data]
permissions:
contents: write
with:
build-version: ${{ needs.build-data.outputs.version }}
generate-gpo: true
profile-data-path-archive: zen-windows-x86_64-profile-data-and-jarlog.zip
#windows-step-2:
# name: Windows build step 2 (Generate profile data)
# uses: ./.github/workflows/windows-profile-build.yml
# permissions:
# contents: write
# needs: [windows-step-1, build-data]
# with:
# build-version: ${{ needs.build-data.outputs.version }}
# profile-data-path-archive: zen-windows-x86_64-profile-data-and-jarlog.zip
windows-step-2:
name: Windows build step 2 (Generate profile data)
uses: ./.github/workflows/windows-profile-build.yml
permissions:
contents: write
needs: [windows-step-1, build-data]
with:
build-version: ${{ needs.build-data.outputs.version }}
profile-data-path-archive: zen-windows-x86_64-profile-data-and-jarlog.zip
windows-step-3:
name: Windows build step 3 (build with profile data)

View File

@@ -27,15 +27,14 @@ export WINE="$TOOLS/wine/bin/wine64"
ac_add_options --disable-maintenance-service
ac_add_options --disable-bits-download
# 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 --without-wasm-sandboxed-libraries
# else
ac_add_options --disable-profiling
# ac_add_options --enable-profile-use=cross
# ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged.profdata
# ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US.log
# fi
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 --disable-profiling
ac_add_options --enable-profile-use=cross
ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged.profdata
ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US.log
fi
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE

View File

@@ -40,6 +40,7 @@ jobs:
name: Download artifact
with:
path: C:\artifact
name: ${{ inputs.profile-data-path-archive }}
- name: Unpack artifact
run: |

View File

@@ -49,7 +49,6 @@ if test "$ZEN_RELEASE"; then
ac_add_options --enable-hardening
ac_add_options --disable-crashreporter
ac_add_options --disable-dmd
ac_add_options --disable-geckodriver
ac_add_options --disable-rust-tests
ac_add_options --disable-default-browser-agent
@@ -75,6 +74,9 @@ if test "$ZEN_RELEASE"; then
mk_add_options AUTOCLOBBER=1
export AUTOCLOBBER=1
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
ac_add_options --enable-unverified-updates