Skip to content

Commit

Permalink
Add CI job to validate :preinstrumented:instrumentAll
Browse files Browse the repository at this point in the history
Signed-off-by: utzcoz <utzcoz@outlook.com>
  • Loading branch information
utzcoz committed Nov 6, 2022
1 parent 67e5a84 commit d1bd0a8
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/check_aggregateDocs.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/workflows/gradle_tasks_validation.yml
@@ -0,0 +1,55 @@
name: Gradle Tasks Validation

on:
push:
branches: [ master ]

pull_request:
branches: [ master, google ]

permissions:
contents: read

jobs:
run_aggregateDocs:
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: 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

0 comments on commit d1bd0a8

Please sign in to comment.