tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

kind.yml (13139B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 ---
      5 loader: taskgraph.loader.transform:loader
      6 
      7 kind-dependencies:
      8    - toolchain
      9    - fetch
     10 
     11 transforms:
     12    - gecko_taskgraph.transforms.build:transforms
     13    - gecko_taskgraph.transforms.build_attrs:transforms
     14    - gecko_taskgraph.transforms.build_lints:transforms
     15    - gecko_taskgraph.transforms.job:transforms
     16    - gecko_taskgraph.transforms.task:transforms
     17 
     18 task-defaults:
     19    run-on-repo-type: [hg]
     20    index:
     21        product: firefox
     22    treeherder:
     23        symbol: Searchfox(idx)
     24        kind: build
     25        tier: 2
     26    run-on-projects: ['mozilla-central']
     27    optimization: null
     28    use-python: default
     29    # These builds don't use sccache because otherwise we wouldn't index
     30    # the files that sccache optimizes away compilation for.
     31    use-sccache: false
     32    run:
     33        extra-config:
     34            max_build_output_timeout: 3600
     35    worker-type: b-linux
     36    worker:
     37        env:
     38            MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
     39 
     40 tasks:
     41    linux64-searchfox/opt:
     42        description: "Linux64 opt Searchfox"
     43        index:
     44            job-name: linux64-searchfox-opt
     45        treeherder:
     46            platform: linux64/opt
     47        worker:
     48            max-run-time: 10800
     49            env:
     50                PERFHERDER_EXTRA_OPTIONS: searchfox
     51                MOZSEARCH_PLATFORM: "linux64-opt"
     52        run:
     53            using: mozharness
     54            actions: [build]
     55            config:
     56                - builds/releng_base_firefox.py
     57                - builds/releng_sub_linux_configs/64_searchfox_and_opt.py
     58            script: "mozharness/scripts/fx_desktop_build.py"
     59            tooltool-downloads: public
     60            keep-artifacts: false
     61        fetches:
     62            toolchain:
     63                - linux64-clang
     64                - linux64-nasm
     65                - linux64-node
     66                - linux64-rust
     67                - linux64-cbindgen
     68                - linux64-dump_syms
     69                - linux64-pkgconf
     70                - sysroot-x86_64-linux-gnu
     71                - sysroot-wasm32-wasi
     72 
     73    linux64-searchfox/debug:
     74        description: "Linux64 Debug Searchfox"
     75        index:
     76            job-name: linux64-searchfox-debug
     77        treeherder:
     78            platform: linux64/debug
     79        worker:
     80            max-run-time: 10800
     81            env:
     82                PERFHERDER_EXTRA_OPTIONS: searchfox
     83                MOZSEARCH_PLATFORM: "linux64"
     84        run:
     85            using: mozharness
     86            actions: [build]
     87            config:
     88                - builds/releng_base_firefox.py
     89                - builds/releng_sub_linux_configs/64_searchfox_and_debug.py
     90            script: "mozharness/scripts/fx_desktop_build.py"
     91            tooltool-downloads: public
     92            keep-artifacts: false
     93        fetches:
     94            toolchain:
     95                - linux64-clang
     96                - linux64-nasm
     97                - linux64-node
     98                - linux64-rust
     99                - linux64-cbindgen
    100                - linux64-dump_syms
    101                - linux64-pkgconf
    102                - sysroot-x86_64-linux-gnu
    103                - sysroot-wasm32-wasi
    104 
    105    macosx64-searchfox/debug:
    106        description: "MacOS X x64 Debug Cross-compile Searchfox"
    107        index:
    108            job-name: macosx64-searchfox-debug
    109        treeherder:
    110            platform: osx-cross/debug
    111        worker:
    112            max-run-time: 10800
    113            env:
    114                PERFHERDER_EXTRA_OPTIONS: searchfox
    115                MOZSEARCH_PLATFORM: "macosx64"
    116        run:
    117            using: mozharness
    118            actions: [get-secrets, build]
    119            config:
    120                - builds/releng_base_firefox.py
    121                - builds/releng_base_mac_64_cross_builds.py
    122            script: "mozharness/scripts/fx_desktop_build.py"
    123            custom-build-variant-cfg: cross-debug-searchfox
    124            secrets: true
    125            keep-artifacts: false
    126        fetches:
    127            toolchain:
    128                - linux64-clang
    129                - linux64-hfsplus
    130                - linux64-libdmg
    131                - linux64-nasm
    132                - linux64-node
    133                - linux64-rust-cross
    134                - linux64-cbindgen
    135                - linux64-dump_syms
    136                - macosx64-sdk
    137                - sysroot-x86_64-linux-gnu
    138                - sysroot-wasm32-wasi
    139 
    140    macosx64-aarch64-searchfox/opt:
    141        description: "MacOS X aarch64 Opt Cross-compile Searchfox"
    142        index:
    143            job-name: macosx64-aarch64-searchfox-opt
    144        treeherder:
    145            platform: osx-cross-aarch64/opt
    146        worker:
    147            max-run-time: 10800
    148            env:
    149                PERFHERDER_EXTRA_OPTIONS: searchfox
    150                MOZSEARCH_PLATFORM: "macosx64-aarch64-opt"
    151        run:
    152            using: mozharness
    153            actions: [get-secrets, build]
    154            config:
    155                - builds/releng_base_firefox.py
    156                - builds/releng_base_mac_64_cross_builds.py
    157            extra-config:
    158                extra_mozconfig_content:
    159                    - ac_add_options --target=aarch64-apple-darwin
    160            script: "mozharness/scripts/fx_desktop_build.py"
    161            custom-build-variant-cfg: cross-opt-searchfox
    162            secrets: true
    163            keep-artifacts: false
    164        fetches:
    165            toolchain:
    166                - linux64-clang
    167                - linux64-hfsplus
    168                - linux64-libdmg
    169                - linux64-nasm
    170                - linux64-node
    171                - linux64-rust-cross
    172                - linux64-cbindgen
    173                - linux64-dump_syms
    174                - macosx64-sdk
    175                - sysroot-x86_64-linux-gnu
    176                - sysroot-wasm32-wasi
    177 
    178    macosx64-aarch64-searchfox/debug:
    179        description: "MacOS X aarch64 Debug Cross-compile Searchfox"
    180        index:
    181            job-name: macosx64-aarch64-searchfox-debug
    182        treeherder:
    183            platform: osx-cross-aarch64/debug
    184        worker:
    185            max-run-time: 10800
    186            env:
    187                PERFHERDER_EXTRA_OPTIONS: searchfox
    188                MOZSEARCH_PLATFORM: "macosx64-aarch64"
    189        run:
    190            using: mozharness
    191            actions: [get-secrets, build]
    192            config:
    193                - builds/releng_base_firefox.py
    194                - builds/releng_base_mac_64_cross_builds.py
    195            extra-config:
    196                extra_mozconfig_content:
    197                    - ac_add_options --target=aarch64-apple-darwin
    198            script: "mozharness/scripts/fx_desktop_build.py"
    199            custom-build-variant-cfg: cross-debug-searchfox
    200            secrets: true
    201            keep-artifacts: false
    202        fetches:
    203            toolchain:
    204                - linux64-clang
    205                - linux64-hfsplus
    206                - linux64-libdmg
    207                - linux64-nasm
    208                - linux64-node
    209                - linux64-rust-cross
    210                - linux64-cbindgen
    211                - linux64-dump_syms
    212                - macosx64-sdk
    213                - sysroot-x86_64-linux-gnu
    214                - sysroot-wasm32-wasi
    215 
    216    ios-searchfox/debug:
    217        description: "ios Debug Cross-compile Searchfox"
    218        index:
    219            job-name: ios-searchfox-debug
    220        treeherder:
    221            platform: ios/debug
    222        worker:
    223            max-run-time: 10800
    224            env:
    225                PERFHERDER_EXTRA_OPTIONS: searchfox
    226                MOZSEARCH_PLATFORM: "ios"
    227        run:
    228            using: mozharness
    229            actions: [get-secrets, build]
    230            config:
    231                - builds/releng_base_firefox.py
    232            script: "mozharness/scripts/fx_desktop_build.py"
    233            secrets: true
    234            keep-artifacts: false
    235            extra-config:
    236                app_name: mobile/ios
    237                stage_platform: ios
    238                mozconfig_platform: ios
    239                disable_package_metrics: true
    240                upload_env: {"UPLOAD_PATH": "/builds/worker/artifacts"}
    241            mozconfig-variant: debug-searchfox
    242        fetches:
    243            toolchain:
    244                - linux64-clang
    245                - linux64-hfsplus
    246                - linux64-libdmg
    247                - linux64-nasm
    248                - linux64-node
    249                - linux64-rust-ios
    250                - linux64-cbindgen
    251                - linux64-dump_syms
    252                - ios-sdk
    253                - sysroot-x86_64-linux-gnu
    254                - sysroot-wasm32-wasi
    255 
    256    win64-searchfox/opt:
    257        description: "Win64 Searchfox Opt (clang-cl)"
    258        index:
    259            job-name: win64-searchfox-opt
    260        treeherder:
    261            platform: windows2012-64/opt
    262        worker:
    263            max-run-time: 10800
    264            env:
    265                PERFHERDER_EXTRA_OPTIONS: searchfox
    266                MOZSEARCH_PLATFORM: "win64-opt"
    267        run:
    268            using: mozharness
    269            options: [append-env-variables-from-configs]
    270            actions: [get-secrets, build]
    271            script: mozharness/scripts/fx_desktop_build.py
    272            secrets: true
    273            config:
    274                - builds/releng_base_firefox.py
    275                - builds/releng_base_linux_64_builds.py
    276                - builds/taskcluster_sub_win64/searchfox_opt.py
    277            extra-config:
    278                mozconfig_platform: win64
    279        fetches:
    280            toolchain:
    281                - linux64-clang
    282                - linux64-rust-cross
    283                - linux64-rust-size
    284                - linux64-nasm
    285                - linux64-node
    286                - linux64-cbindgen
    287                - linux64-dump_syms
    288                - linux64-wine
    289                - linux64-winchecksec
    290                - nsis
    291                - sysroot-x86_64-linux-gnu
    292                - sysroot-wasm32-wasi
    293                - vs
    294                - dxc-x86_64-pc-windows-msvc
    295                - winappsdk-x86_64-pc-windows-msvc
    296            fetch:
    297                - upx-3.95-win
    298                - windows-rs
    299 
    300    win64-searchfox/debug:
    301        description: "Win64 Searchfox Debug (clang-cl)"
    302        index:
    303            job-name: win64-searchfox-debug
    304        treeherder:
    305            platform: windows2012-64/debug
    306        worker:
    307            max-run-time: 10800
    308            env:
    309                PERFHERDER_EXTRA_OPTIONS: searchfox
    310                MOZSEARCH_PLATFORM: "win64"
    311        run:
    312            using: mozharness
    313            options: [append-env-variables-from-configs]
    314            actions: [get-secrets, build]
    315            script: mozharness/scripts/fx_desktop_build.py
    316            secrets: true
    317            config:
    318                - builds/releng_base_firefox.py
    319                - builds/releng_base_linux_64_builds.py
    320                - builds/taskcluster_sub_win64/searchfox_debug.py
    321            extra-config:
    322                mozconfig_platform: win64
    323        fetches:
    324            toolchain:
    325                - linux64-clang
    326                - linux64-rust-cross
    327                - linux64-rust-size
    328                - linux64-nasm
    329                - linux64-node
    330                - linux64-cbindgen
    331                - linux64-dump_syms
    332                - linux64-wine
    333                - linux64-winchecksec
    334                - nsis
    335                - sysroot-x86_64-linux-gnu
    336                - sysroot-wasm32-wasi
    337                - vs
    338                - dxc-x86_64-pc-windows-msvc
    339                - winappsdk-x86_64-pc-windows-msvc
    340            fetch:
    341                - upx-3.95-win
    342                - windows-rs
    343 
    344    android-aarch64-searchfox/debug:
    345        description: "Android 5.0 AArch64 Debug Searchfox"
    346        index:
    347            job-name: android-aarch64-searchfox-debug
    348        treeherder:
    349            platform: android-5-0-aarch64/debug
    350        worker:
    351            docker-image: {in-tree: android-build}
    352            max-run-time: 14400
    353            env:
    354                PERFHERDER_EXTRA_OPTIONS: searchfox
    355                MOZSEARCH_PLATFORM: "android-aarch64"
    356                GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline"
    357                TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    358        run:
    359            using: mozharness
    360            actions: [get-secrets, build]
    361            config:
    362                - builds/releng_base_android_64_builds.py
    363            script: "mozharness/scripts/fx_desktop_build.py"
    364            secrets: true
    365            custom-build-variant-cfg: aarch64-debug-searchfox
    366            tooltool-downloads: internal
    367        fetches:
    368            toolchain:
    369                - android-gradle-dependencies
    370                - android-ndk-linux
    371                - android-sdk-linux
    372                - linux64-embedded-uniffi-bindgen
    373                - linux64-nimbus-fml
    374                - linux64-jdk
    375                - linux64-clang
    376                - linux64-rust-cross
    377                - linux64-rust-size
    378                - linux64-cbindgen
    379                - linux64-dump_syms
    380                - linux64-nasm
    381                - linux64-node
    382                - sysroot-x86_64-linux-gnu
    383                - sysroot-wasm32-wasi