tor-browser

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

python-android.yml (2247B)


      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 
      6 android-gradle-build:
      7    attributes:
      8        build_platform: android
      9        build_type: opt
     10        code-review: true
     11    description: Android Gradle Build python tests
     12    platform:
     13        - linux2404-64/opt
     14    treeherder:
     15        symbol: py3(agb)
     16        kind: test
     17        tier: 2
     18    worker-type: t-linux-docker
     19    worker:
     20        docker-image: {in-tree: android-build}
     21        env:
     22            GRADLE_USER_HOME: /builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline
     23            MOZ_OBJDIR: obj-firefox
     24            PERFHERDER_EXTRA_OPTIONS: android-gradle-build
     25            TINDERBOX_OUTPUT: '1'
     26        max-run-time: 3600
     27    run-on-repo-type: [hg]
     28    run:
     29        using: run-task
     30        command: >
     31            ln -s $MOZ_FETCHES_DIR/android-gradle-dependencies $GECKO_PATH &&
     32            ln -s $MOZ_FETCHES_DIR/android-sdk-linux $GECKO_PATH &&
     33            ln -s $MOZ_FETCHES_DIR/node $GECKO_PATH &&
     34            cd $GECKO_PATH &&
     35            export GRADLE_MAVEN_REPOSITORIES="file://$MOZ_FETCHES_DIR/android-gradle-dependencies/mozilla","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/google","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/central","file://$MOZ_FETCHES_DIR/android-gradle-dependencies/gradle-plugins" &&
     36            ./mach --log-no-times python-test --subsuite android-gradle-build --run-slow
     37        tooltool-downloads: internal  # For internal toolchains.
     38    fetches:
     39        toolchain:
     40            # Aliases aren't allowed for toolchains installed by fetch.
     41            - linux64-android-gradle-dependencies
     42            - linux64-android-sdk-linux-repack
     43            - linux64-embedded-uniffi-bindgen
     44            - linux64-nimbus-fml
     45            - linux64-jdk-repack
     46            - linux64-node
     47            - terser
     48    when:
     49        files-changed:
     50            # Build stuff.
     51            - 'mobile/android/**/Makefile.in'
     52            - 'mobile/android/config/**'
     53            - 'mobile/android/gradle.configure'
     54            - 'mobile/android/**/moz.build'
     55            - '**/*.gradle'