mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
refactor: Fixed macos builds and flatpaks
This commit is contained in:
12
.github/workflows/alpha.yml
vendored
12
.github/workflows/alpha.yml
vendored
@@ -274,12 +274,12 @@ jobs:
|
||||
name: com.zen.browser.flatpak
|
||||
path: com.zen.browser.flatpak
|
||||
|
||||
- name: Publish to Flathub (beta)
|
||||
uses: flatpak/flatpak-github-actions/flat-manager@v6.1
|
||||
with:
|
||||
flat-manager-url: https://hub.flathub.org/
|
||||
repository: beta
|
||||
token: ${{ secrets.FLATHUB_TOKEN }}
|
||||
# - name: Publish to Flathub (beta)
|
||||
# uses: flatpak/flatpak-github-actions/flat-manager@v6.1
|
||||
# with:
|
||||
# flat-manager-url: https://hub.flathub.org/
|
||||
# repository: beta
|
||||
# token: ${{ secrets.FLATHUB_TOKEN }}
|
||||
|
||||
release:
|
||||
if: ${{ github.event.inputs.create_release == 'true' }}
|
||||
|
2
.github/workflows/macos-alpha-build.yml
vendored
2
.github/workflows/macos-alpha-build.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
mac-build:
|
||||
runs-on: macos-14
|
||||
runs-on: macos-14-large
|
||||
|
||||
steps:
|
||||
- name: Install Node.js
|
||||
|
@@ -58,6 +58,7 @@ if test "$ZEN_RELEASE"; then
|
||||
ac_add_options --enable-lto
|
||||
|
||||
ac_add_options --enable-jemalloc
|
||||
ac_add_options --disable-jprof
|
||||
|
||||
mk_add_options MOZILLA_OFFICIAL=1
|
||||
MOZILLA_OFFICIAL=1
|
||||
@@ -79,6 +80,9 @@ if test "$ZEN_RELEASE"; then
|
||||
# We declare these later in windows builds, look at windows_mozconfig
|
||||
export MOZ_PGO=1
|
||||
ac_add_options MOZ_PGO=1
|
||||
|
||||
# It causes link errors on windows
|
||||
ac_add_options --disable-dmd
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
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"
|
||||
|
||||
# if test "$ZEN_RELEASE"; then
|
||||
# ac_add_options --enable-optimize="-mcpu=apple-m1 -O3 -w"
|
||||
# export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=apple-m1"
|
||||
# fi
|
||||
unset MOZ_STDCXX_COMPAT
|
||||
if test "$ZEN_RELEASE"; then
|
||||
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=apple-m1"
|
||||
fi
|
||||
|
||||
ac_add_options --enable-install-strip
|
||||
ac_add_options --target=aarch64-apple-darwin
|
||||
|
Reference in New Issue
Block a user