Skip to content

update ci

update ci #2

Workflow file for this run

name: Android CI
on:
push:
branches: [ "master", "android_ci" ]
pull_request:
branches: [ "master", "android_ci" ]
jobs:
build-without-ffmpeg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nttld/[email protected]
id: setup-ndk
with:
ndk-version: r26d
link-to-sdk: true
add-to-path: true
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./tasks.sh --release --enable-cmake --disable-video-module --build
- name: lint
run: ./gradlew lint
build-with-ffmpeg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nttld/[email protected]
id: setup-ndk
with:
ndk-version: r26d
link-to-sdk: true
add-to-path: true
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./tasks.sh --release --enable-cmake --enable-video-module --build
- name: lint
run: ./gradlew lint