-
Notifications
You must be signed in to change notification settings - Fork 12
42 lines (37 loc) · 947 Bytes
/
android.yml
File metadata and controls
42 lines (37 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Android CI
on:
push:
branches: [ 'master', 'ci' ]
pull_request:
branches: [ 'master' ]
workflow_dispatch:
inputs:
lsl_ref:
description: 'liblsl tag / branch to build'
required: false
default: 'master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: 'liblsl-Java'
- uses: actions/checkout@v3
with:
repository: sccn/liblsl
path: 'liblsl'
ref: ${{ github.event.inputs.lsl_ref }}
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
run: 'cd liblsl-Java && cmake --version && ./gradlew assembleRelease'
- name: upload install dir
uses: actions/upload-artifact@master
with:
name: AAR
path: 'liblsl-Java/build/outputs/aar/*.aar'