diff options
Diffstat (limited to '.forgejo/workflows/ci.yml')
| -rw-r--r-- | .forgejo/workflows/ci.yml | 27 |
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 |
