Skip to content

AndroidX biometric

AndroidX biometric #40

name: AndroidX biometric
on:
workflow_dispatch:
env:
GRADLE_ENTERPRISE_URL: "https://ge.solutions-team.gradle.com"
GIT_REPO: "https://github.com/jprinet/androidx"
TASKS: "buildOnServer zipTestConfigsWithApks test"
PROJECT_DIR: "biometric"
ARGS: "-x ktlint -Dorg.gradle.dependency.verification=off"
jobs:
Experiment:
strategy:
matrix:
include:
- experimentId: 1
- experimentId: 2
- experimentId: 3
runs-on: ubuntu-latest
steps:
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: "8"
distribution: "temurin"
- name: Set tools jar path
run: |
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
echo "JAVA_TOOLS_JAR=$JAVA_HOME/lib/tools.jar" >> $GITHUB_ENV
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
- name: "Set environment variables"
shell: bash
run: |
set -x
echo "DIST_DIR=$HOME/dist" >> $GITHUB_ENV
- name: Set up Android SDK
uses: android-actions/setup-android@v2
- name: Download latest version of the validation scripts
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/download@actions-stable
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run experiment 1
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-1@actions-stable
env:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
args: ${{ env.ARGS }}
projectDir: ${{ env.PROJECT_DIR }}
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
if: matrix.experimentId == 1
- name: Run experiment 2
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-2@actions-stable
env:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
args: ${{ env.ARGS }}
projectDir: ${{ env.PROJECT_DIR }}
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
failIfNotFullyCacheable: true
if: matrix.experimentId == 2
- name: Run experiment 3
uses: gradle/gradle-enterprise-build-validation-scripts/.github/actions/gradle/experiment-3@actions-stable
env:
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }}"
with:
gitRepo: ${{ env.GIT_REPO }}
tasks: ${{ env.TASKS }}
args: ${{ env.ARGS }}
projectDir: ${{ env.PROJECT_DIR }}
gradleEnterpriseUrl: ${{ env.GRADLE_ENTERPRISE_URL }}
failIfNotFullyCacheable: true
if: matrix.experimentId == 3