Bug 1820893 - Build nightly-as-release in CI on all desktop platfroms. r=aryx,glandium,firefox-build-system-reviewers,bhearsum,taskgraph-reviewers

This patch adds a new nightly-as-release build for Windows, Linux, and MacOSx. These are nightly builds, but built with the following additional flag: `ac_add_options --as-milestone=release`

Three new builds are also added to CI: macosx64-nightly-as-release-shippable/opt, win64-nightly-as-release-shippable/opt, and linux64-nightly-as-release-shippable/opt

These are used to make 3 test-platforms to run browsertime tests in a following patch.

Differential Revision: https://phabricator.services.mozilla.com/D172029
This commit is contained in:
Greg Mierzwinski 2023-04-12 14:51:48 +00:00
parent 9fe9a6ccfd
commit d2b76e25ba
8 changed files with 142 additions and 0 deletions

View file

@ -0,0 +1,3 @@
. "$topsrcdir/browser/config/mozconfigs/linux64/nightly"
ac_add_options --as-milestone=release

View file

@ -0,0 +1,3 @@
. "$topsrcdir/browser/config/mozconfigs/macosx64/nightly"
ac_add_options --as-milestone=release

View file

@ -0,0 +1,3 @@
. "$topsrcdir/browser/config/mozconfigs/win64/nightly"
ac_add_options --as-milestone=release

View file

@ -19,10 +19,13 @@ only-for-attributes:
not-for-build-platforms:
- linux-shippable/opt
- linux64-shippable/opt
- linux64-nightlyasrelease/opt
- macosx64-shippable/opt
- macosx64-nightlyasrelease/opt
- win32-shippable/opt
- win64-shippable/opt
- win64-aarch64-shippable/opt
- win64-nightlyasrelease/opt
- linux-devedition/opt
- linux64-devedition/opt
- macosx64-devedition/opt

View file

@ -1403,6 +1403,53 @@ linux64-shippable/opt:
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
linux64-nightlyasrelease/opt:
description: "Linux64 Nightly-As-Release"
use-pgo: linux64-shippable/opt
attributes:
enable-full-crashsymbols: true
index:
product: firefox
job-name: linux64-nightlyasrelease-opt
treeherder:
platform: linux64-nightlyasrelease/opt
symbol: Bpgo(Bnar)
run-on-projects: [trunk-only]
worker-type: b-linux-gcp
worker:
max-run-time: 9000
env:
MOZ_AUTOMATION_PACKAGE_TESTS: "1"
# bug 1690154 - enable full symbols on all branches, but only
# upload them on the official set. In conjunction with
# `enable-full-crashsymbols`.
MOZ_ENABLE_FULL_SYMBOLS: "1"
PERFHERDER_EXTRA_OPTIONS: nightly-as-release
run:
using: mozharness
actions: [get-secrets, build]
config:
- builds/releng_base_firefox.py
- builds/releng_base_linux_64_builds.py
- taskcluster_nightly.py
script: "mozharness/scripts/fx_desktop_build.py"
mozconfig-variant: nightly-as-release
secrets: true
tooltool-downloads: public
fetches:
toolchain:
- linux64-binutils
- linux64-clang
- linux64-rust
- linux64-rust-size
- linux64-cbindgen
- linux64-dump_syms
- linux64-nasm
- linux64-node
- linux64-pkgconf
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
linux64-noopt/debug:
description: "Linux64 No-optimize Debug"
index:

View file

@ -553,6 +553,39 @@ macosx64-add-on-devel/opt:
- macosx64-sdk
- sysroot-wasm32-wasi
macosx64-nightlyasrelease/opt:
description: "MacOS X Nightly-As-Release"
worker-type: b-linux-gcp
use-pgo: macosx64-shippable/opt
attributes:
enable-full-crashsymbols: true
skip-verify-test-packaging: true
upload-generated-sources: true
index:
job-name: macosx64-nightlyasrelease-opt
treeherder:
platform: osx-nightlyasrelease/opt
symbol: Bpgo(Bnar)
tier: 1
run-on-projects: [trunk-only]
worker:
max-run-time: 7200
env:
MOZ_AUTOMATION_PACKAGE_TESTS: "1"
PERFHERDER_EXTRA_OPTIONS: nightly-as-release
run:
config:
- builds/releng_base_firefox.py
- builds/releng_base_mac_64_cross_builds.py
- taskcluster_nightly.py
mozconfig-variant: nightly-as-release
fetches:
toolchain:
- linux64-cctools-port
- linux64-clang
- macosx64-sdk
- sysroot-wasm32-wasi
macosx64-x64-shippable/opt:
description: "MacOS X x64 Cross-compile"
worker-type: b-linux-gcp

View file

@ -552,6 +552,55 @@ win64-shippable/opt:
fetch:
- upx-3.95-win
win64-nightlyasrelease/opt:
description: "Win64 Opt Nightly-As-Release"
use-pgo: win64-shippable/opt
attributes:
enable-full-crashsymbols: true
index:
product: firefox
job-name: win64-nightlyasrelease-opt
treeherder:
platform: win64-nightlyasrelease/opt
symbol: Bpgo(Bnar)
worker-type: b-linux-gcp
worker:
max-run-time: 10800
env:
PERFHERDER_EXTRA_OPTIONS: "nightly-as-release"
MOZ_AUTOMATION_PACKAGE_TESTS: "1"
run:
actions: [get-secrets, build]
options: [append-env-variables-from-configs]
script: mozharness/scripts/fx_desktop_build.py
secrets: true
config:
- builds/releng_base_firefox.py
- builds/releng_base_linux_64_builds.py
- taskcluster_nightly.py
extra-config:
stage_platform: win64
mozconfig_platform: win64
mozconfig-variant: nightly-as-release
run-on-projects: [trunk-only]
fetches:
toolchain:
- linux64-clang
- linux64-rust-cross
- linux64-rust-size
- linux64-nasm
- linux64-node
- linux64-cbindgen
- linux64-dump_syms
- linux64-wine
- linux64-winchecksec
- nsis
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
- win64-vs2017
fetch:
- upx-3.95-win
win32-add-on-devel/opt:
description: "Windows32 add-on-devel"
index:

View file

@ -751,6 +751,7 @@ test_setting_description_schema = Schema(
"domstreams",
"lite",
"mingwclang",
"nightlyasrelease",
"shippable",
"tsan",
): bool,