Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Android CI

on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout repository with submodules
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: gradle

- name: Make all scripts executable
run: |
chmod +x gradlew
chmod +x presentation/src/main/cpp/build.sh

- name: Build Debug APK (without GMS)
run: ./gradlew assembleDebug

- name: Run Unit Tests
run: ./gradlew testDebugUnitTest
Loading