| name: Gradle Tasks Validation |
| |
| on: |
| push: |
| branches: [ master, 'robolectric-*.x' ] |
| paths-ignore: |
| - '**.md' |
| |
| pull_request: |
| branches: [ master, google ] |
| paths-ignore: |
| - '**.md' |
| |
| permissions: |
| contents: read |
| |
| jobs: |
| run_aggregateDocs: |
| runs-on: ubuntu-20.04 |
| |
| steps: |
| - uses: actions/checkout@v3 |
| |
| - name: Set up JDK |
| uses: actions/setup-java@v3 |
| with: |
| distribution: 'zulu' |
| java-version: 14 |
| |
| - uses: gradle/gradle-build-action@v2 |
| |
| - name: Run aggregateDocs |
| run: SKIP_NATIVERUNTIME_BUILD=true ./gradlew clean aggregateDocs # building the native runtime is not required for checking javadoc |
| |
| run_instrumentAll: |
| runs-on: ubuntu-20.04 |
| |
| steps: |
| - uses: actions/checkout@v3 |
| with: |
| fetch-depth: 0 |
| submodules: recursive |
| |
| - name: Set up JDK |
| uses: actions/setup-java@v3 |
| with: |
| distribution: 'zulu' |
| java-version: 11 |
| |
| - uses: gradle/gradle-build-action@v2 |
| |
| - name: Run :preinstrumented:instrumentAll |
| run: SKIP_NATIVERUNTIME_BUILD=true ./gradlew :preinstrumented:instrumentAll |
| |
| - name: Run :preinstrumented:instrumentAll with SDK 33 |
| run: SKIP_NATIVERUNTIME_BUILD=true PREINSTRUMENTED_SDK_VERSIONS=33 ./gradlew :preinstrumented:instrumentAll |