update ci #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |