-
Notifications
You must be signed in to change notification settings - Fork 43
36 lines (31 loc) · 773 Bytes
/
ci.yml
File metadata and controls
36 lines (31 loc) · 773 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
name: AWS KVS WebRTC Android SDK CI
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
java: [11, 17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}
- name: Download libwebrtc
run: wget -O app/libs/libwebrtc-115.0.0.aar https://github.com/rno/WebRTC/releases/download/115.0.0/libwebrtc-115.0.0.aar
- name: Build with Gradle
run: ./gradlew build
- name: Run tests
run: ./gradlew test