mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 19:59:59 +02:00
Update CI workflows to use warp runners for Linux and macOS builds, and adjust LTO settings in mozconfig
This commit is contained in:
parent
6c9fb9b3bb
commit
10b9d65d37
5 changed files with 6 additions and 6 deletions
2
.github/workflows/linux-release-build.yml
vendored
2
.github/workflows/linux-release-build.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
# aarch64 does not need full 16x
|
# aarch64 does not need full 16x
|
||||||
runs-on: ${{ (inputs.release-branch == 'release' && matrix.arch == 'x86_64') && 'ubuntu-latest' || 'ubuntu-latest' }}
|
runs-on: ${{ (inputs.release-branch == 'release' && matrix.arch == 'x86_64') && 'warp-ubuntu-latest-x64-16x' || 'ubuntu-latest' }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
2
.github/workflows/macos-release-build.yml
vendored
2
.github/workflows/macos-release-build.yml
vendored
|
@ -15,7 +15,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
mac-build:
|
mac-build:
|
||||||
name: Build macOS - ${{ matrix.arch }}
|
name: Build macOS - ${{ matrix.arch }}
|
||||||
runs-on: ${{ inputs.release-branch == 'release' && 'macos-14' || 'macos-14' }}
|
runs-on: ${{ inputs.release-branch == 'release' && 'warp-macos-14-arm64-6x' || 'macos-14' }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
2
.github/workflows/windows-profile-build.yml
vendored
2
.github/workflows/windows-profile-build.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [x86_64, aarch64]
|
arch: [x86_64, aarch64]
|
||||||
|
|
||||||
runs-on: ${{ inputs.release-branch == 'release' && 'windows-latest' || 'windows-latest' }}
|
runs-on: ${{ inputs.release-branch == 'release' && 'warp-windows-latest-x64-8x' || 'windows-latest' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
2
.github/workflows/windows-release-build.yml
vendored
2
.github/workflows/windows-release-build.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
windows-build:
|
windows-build:
|
||||||
name: Build Windows - ${{ matrix.arch }}
|
name: Build Windows - ${{ matrix.arch }}
|
||||||
# aarch64 does not need full 16x, and we also dont use full LTO when generating GPO
|
# aarch64 does not need full 16x, and we also dont use full LTO when generating GPO
|
||||||
runs-on: ${{ (inputs.release-branch == 'release' && !inputs.generate-gpo && matrix.arch == 'x86_64') && 'ubuntu-latest' || 'ubuntu-latest' }}
|
runs-on: ${{ (inputs.release-branch == 'release' && !inputs.generate-gpo && matrix.arch == 'x86_64') && 'warp-ubuntu-latest-x64-16x' || 'ubuntu-latest' }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
|
@ -57,8 +57,8 @@ if test "$ZEN_RELEASE"; then
|
||||||
# only enable full LTO when ZEN_RELEASE_BRANCH is 'release'
|
# only enable full LTO when ZEN_RELEASE_BRANCH is 'release'
|
||||||
if test "$ZEN_RELEASE_BRANCH" = "release"; then
|
if test "$ZEN_RELEASE_BRANCH" = "release"; then
|
||||||
# TODO: make it "full" once we have the resources to build it
|
# TODO: make it "full" once we have the resources to build it
|
||||||
export MOZ_LTO=cross,thin
|
export MOZ_LTO=cross,full
|
||||||
ac_add_options --enable-lto=cross,thin
|
ac_add_options --enable-lto=cross,full
|
||||||
else
|
else
|
||||||
export MOZ_LTO=cross,thin
|
export MOZ_LTO=cross,thin
|
||||||
ac_add_options --enable-lto=cross,thin
|
ac_add_options --enable-lto=cross,thin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue