Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wysaid committed May 5, 2024
1 parent 05568ff commit cf0b9b3
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,52 @@ on:
branches: [ "master", "android_ci" ]

jobs:
build:

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: ./gradlew build
run: ./tasks.sh --release --enable-cmake --enable-video-module --build
- name: lint
run: ./gradlew lint

0 comments on commit cf0b9b3

Please sign in to comment.