Add Gitea Actions CI and tag releases
CI / check (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
yuriy.pandClaude Opus 5.5 committed 2026-10-25 12:05:25 +06:00
1 parent 07e12eec6a
commit 4848e6bed6
3 files changed
+220

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
# Unit tests, Android Lint and debug builds of both apps on every push to main and every PR.
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: devserver_runner_org
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
# Accepts the SDK licenses, so AGP can fetch the build tools it wants on its own.
- uses: android-actions/setup-android@v3
with:
packages: platform-tools platforms;android-37
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew testDebugUnitTest lint assembleDebug
# Gitea's artifact backend speaks the v3 protocol only.
- if: failure()
uses: actions/upload-artifact@v3
with:
name: reports
path: |
*/build/reports/
*/build/test-results/
if-no-files-found: ignore