diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index bd9da6db..5a060829 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -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/setup-ndk@v1.4.2 + 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/setup-ndk@v1.4.2 + 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