DTSERWONE-1985 Add github actions #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android UI SDK CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- support/SDK-V3 | |
- feature/** | |
- bugfix/** | |
- dependabot/** | |
jobs: | |
build: | |
# Compile the project using the predefined JDK versions in the strategy section | |
runs-on: ubuntu-latest | |
name: Build - JDK ${{ matrix.java-version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: [ 11 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Build CORE SDK ${{ matrix.java-version }} | |
run: ./gradlew --scan clean lint testDebugUnitTest jacocoTestCoverageVerification |