summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbir Eixam (agent) <albir.eixam@serrahima.dev>2026-10-16 01:08:11 +0200
committerAlbir Eixam (agent) <albir.eixam@serrahima.dev>2026-10-16 01:08:11 +0200
commita36c9be4fb770b45b4e9d14bd461726fe97a85c9 (patch)
treef843a1e3026b91fc44f9f33f3b246bf84c74d86a
parent785492400072f8f5f10d67ad295befadb98f7baf (diff)
downloadlluerna-ci/add-workflow.tar.xz
lluerna-ci/add-workflow.zip
ci: add forgejo actions workflowci/add-workflow
First pipeline: shared jvm tests, desktop compile, debug apk assembly. Runs on push to main and on pull requests, on the repository-scoped self-hosted runner. Assisted-by: opencode (deepseek-flash)
-rw-r--r--.forgejo/workflows/ci.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml
new file mode 100644
index 0000000..fc34595
--- /dev/null
+++ b/.forgejo/workflows/ci.yml
@@ -0,0 +1,27 @@
+name: ci
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+
+jobs:
+ build:
+ runs-on: self-hosted
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: build + test
+ run: |
+ ./gradlew --console=plain \
+ :shared:jvmTest \
+ :desktopApp:compileKotlin \
+ :androidApp:assembleDebug
+
+ - name: upload apk
+ if: always()
+ uses: actions/upload-artifact@v7
+ with:
+ name: androidApp-debug
+ path: androidApp/build/outputs/apk/debug/*.apk
+ if-no-files-found: ignore