Skip to content

Check 10.8.0-RC.1 with KSP #60

Check 10.8.0-RC.1 with KSP

Check 10.8.0-RC.1 with KSP #60

Workflow file for this run

name: Build
on: push
jobs:
build:
name: 'G=${{ matrix.gradle }} | J=${{ matrix.java }} | AGP=${{ matrix.agp }} | K=${{ matrix.kotlin }} | KSP=${{ matrix.ksp }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gradle: [7.6.3, 8.4]
java: [11, 17]
agp: [7.4.2, 8.1.2]
include:
- kotlin: 1.7.21
ksp: "1.7.21-1.0.8"
- kotlin: 1.8.22
ksp: "1.8.22-1.0.11"
- kotlin: 1.9.10
ksp: "1.9.10-1.0.13"
exclude:
# AGP 8.0+ requires Gradle 8.0
- agp: 8.1.2
gradle: 7.6.3
# AGP 8.0+ requires JDK 17
- agp: 8.1.2
java: 11
steps:
- uses: actions/checkout@v2
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Gradle
uses: eskatos/gradle-command-action@v1
with:
gradle-version: ${{ matrix.gradle }}
arguments: :app:assembleDebug -PagpVersion=${{ matrix.agp }} -PkotlinVersion=${{ matrix.kotlin }} -PkspVersion=${{ matrix.ksp }} --scan
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: G-${{ matrix.gradle }}-J-${{ matrix.java }}-AGP-${{ matrix.agp }}-K-${{ matrix.kotlin }}-KSP-${{ matrix.ksp }}
path: app/build/outputs/apk/debug/app-debug.apk