Skip to content
Open
Show file tree
Hide file tree
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
43 changes: 43 additions & 0 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Android CI

on:
push:
branches: [ "master", "main" ]
pull_request:
branches: [ "*" ]

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3

- name: Set up Android SDK
uses: android-actions/setup-android@v3

- name: Install SDK packages
shell: bash
run: |
sdkmanager --install \
"platforms;android-34" \
"build-tools;34.0.0" \
"platform-tools"
yes | sdkmanager --licenses

- name: Build library
run: ./gradlew :veridui:assemble --no-daemon --stacktrace

- name: Run checks (no-UI)
run: ./gradlew :veridui:test --no-daemon --stacktrace

Empty file removed .gitmodules
Empty file.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,19 @@ We opted to separate the new API to its own packages so both Ver-ID 1.+ and Ver-

## Requirements

To build this project and to run the sample app you will need a computer with these applications:
To build this project and run the sample app you'll need:

- [Android Studio 4](https://developer.android.com/studio) with Gradle plugin version 4.0.0 or newer
- [Android Studio](https://developer.android.com/studio) with Android Gradle Plugin 8.2.x or newer
- JDK 17 (Android Studio includes a compatible JDK)
- [Git](https://git-scm.com)

The SDK runs on Android 5.0 (API level 21) and newer.

Minimum supported Android version for the UI library is Android 8.0 (API level 26).

If you prefer the command line, you can build the UI library with:

```bash
./gradlew :veridui:assemble
```

## Running the sample app

Expand Down