Bump com.google.devtools.ksp from 1.9.23-1.0.19 to 1.9.23-1.0.20 (#34) #296
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: actionsBuildApp | |
on: [ push ] | |
env: | |
JAVA_VERSION: 20 | |
jobs: | |
jobLint: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
if: ${{ matrix.os != 'self-hosted' }} | |
with: | |
distribution: 'temurin' | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: ciLint --stacktrace | |
jobUnitTest: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-latest, ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
if: ${{ matrix.os != 'self-hosted' }} | |
with: | |
distribution: 'temurin' | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: ciUnitTest --stacktrace | |
jobRecordScreenshots: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
if: ${{ matrix.os != 'self-hosted' }} | |
with: | |
distribution: 'temurin' | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: ciRecordScreenshots --stacktrace | |
jobBuildApp: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
if: ${{ matrix.os != 'self-hosted' }} | |
with: | |
distribution: 'temurin' | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: ciBuildApp --stacktrace | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: apk | |
path: build/apk/ | |
jobEmulatorMatrixSetup: | |
runs-on: ubuntu-latest | |
outputs: | |
emulator_jobs_matrix: ${{ steps.dataStep.outputs.emulator_jobs_matrix }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
if: ${{ matrix.os != 'self-hosted' }} | |
with: | |
distribution: 'temurin' | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: ciEmulatorJobsMatrixSetup --stacktrace | |
- id: dataStep | |
run: echo "emulator_jobs_matrix=$(jq -c . < ./build/emulator_jobs_matrix.json)" >> $GITHUB_OUTPUT | |
Emulator: | |
needs: jobEmulatorMatrixSetup | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: ${{ fromJson(needs.jobEmulatorMatrixSetup.outputs.emulator_jobs_matrix) }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Enable KVM group perms | |
if: ${{ matrix.os != 'self-hosted' }} | |
run: | | |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | |
sudo udevadm control --reload-rules | |
sudo udevadm trigger --name-match=kvm | |
- uses: actions/setup-java@v4 | |
if: ${{ matrix.os != 'self-hosted' }} | |
with: | |
distribution: 'temurin' | |
java-version: ${{ env.JAVA_VERSION }} | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: ciSdkManagerLicenses --stacktrace | |
- uses: gradle/gradle-build-action@v3 | |
with: | |
arguments: ${{ matrix.gradle_tasks }} --stacktrace |