Bump com.google.devtools.ksp from 1.9.22-1.0.16 to 1.9.22-1.0.17 #141
Workflow file for this run
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
# test.yml | |
# | |
# Copyright (C) 2022 - 2024 ViliusSutkus89.com | |
# | |
# Documenter is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License version 3, | |
# as published by the Free Software Foundation. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. | |
# | |
# You should have received a copy of the GNU General Public License | |
# along with this program. If not, see <https://www.gnu.org/licenses/>. | |
name: test | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '**.md' | |
- '.github/**' | |
- '!.github/workflows/test.yml' | |
permissions: | |
actions: none | |
checks: none | |
contents: none | |
deployments: none | |
issues: none | |
packages: none | |
pull-requests: none | |
repository-projects: none | |
security-events: none | |
statuses: none | |
env: | |
applicationId: com.viliussutkus89.documenter.debug | |
jobs: | |
releaseBuild: | |
if: "!contains(github.event.head_commit.message, '[SkipCI]')" | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Generate ephemeral keystore | |
run: keytool -genkey -noprompt -alias alias1 -dname "CN=$applicationId.ephemeral, OU=EphemeralSignatures, O=ViliusSutkus89.com, L=Kaunas, S=Kaunas, C=LT" -keystore app/$applicationId.ephemeral.jks -keypass 123456 -keyalg RSA -keysize 4096 -validity 1 -storepass 123456 | |
- run: ./gradlew assembleRelease bundleRelease lintRelease -Ptest_build | |
env: | |
SIGNING_KEYFILE: ${{env.applicationId}}.ephemeral.jks | |
SIGNING_PASS: 123456 | |
SIGNING_ALIAS: alias1 | |
- name: artifact release builds | |
uses: actions/upload-artifact@v4 | |
with: | |
name: APKs | |
path: | | |
app/build/outputs/apk/release/*.apk | |
app/build/outputs/bundle/release/app-release.aab | |
if-no-files-found: error | |
- name: Artifact lint report | |
uses: actions/upload-artifact@v4 | |
with: | |
path: app/build/reports/lint-results-release.html | |
name: lintResults | |
if-no-files-found: error | |
- name: verify that database schema is unchanged | |
run: diff <(git status app/schemas --short) <(echo -n "") | |
instrumentedTests-aosp_atd-target: | |
needs: releaseBuild | |
name: android-${{ matrix.api-level }} ${{ matrix.arch }} ${{ matrix.api-type-target }} | |
strategy: | |
fail-fast: false | |
matrix: | |
api-level: [34, 33, 32, 31, 30] | |
arch: [x86_64] | |
api-type-target: [aosp_atd] | |
include: | |
- api-level: 30 | |
arch: x86 | |
api-type-target: aosp_atd | |
uses: ./.github/workflows/testInner.yml | |
with: | |
api-level: ${{ matrix.api-level }} | |
arch: ${{ matrix.arch }} | |
api-type-target: ${{ matrix.api-type-target }} | |
applicationId: $applicationId | |
instrumentedTests-default-target: | |
needs: releaseBuild | |
name: android-${{ matrix.api-level }} ${{ matrix.arch }} ${{ matrix.api-type-target }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# system-images;android-26;default;x86 and x86_64 don't have system webview installed | |
# Skip them intentionally | |
api-level: [29, 28, 27, 25, 24, 23, 22, 21] | |
arch: [x86_64, x86] | |
api-type-target: [default] | |
uses: ./.github/workflows/testInner.yml | |
with: | |
api-level: ${{ matrix.api-level }} | |
arch: ${{ matrix.arch }} | |
api-type-target: ${{ matrix.api-type-target }} | |
applicationId: $applicationId |