Skip to content

Commit 5215592

Browse files
authored
build-ffmpeg-kit.yml を更新
1 parent 855b141 commit 5215592

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build-ffmpeg-kit.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,24 @@ jobs:
2222
distribution: 'temurin'
2323
java-version: '17'
2424

25+
    - name: Set up Android SDK
26+
uses: android-actions/setup-android@v2
27+
28+
    - name: Install NDK r25c
29+
run: |
30+
yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager "ndk;25.2.9519653"
31+
32+
- name: Set ANDROID_NDK_ROOT
33+
run: echo "ANDROID_NDK_ROOT=$ANDROID_SDK_ROOT/ndk/25.2.9519653" >> $GITHUB_ENV
34+
35+
- name: Grant execute permission to android.sh
36+
run: chmod +x ffmpeg-kit/android.sh
37+
38+
- name: Build ffmpeg-kit
39+
working-directory: ffmpeg-kit
40+
run: |
41+
bash -x ./android.sh > ../build.log 2>&1 || (cat ../build.log && exit 1)
42+
2543
- name: Set up Android SDK + NDK (r25c)
2644
uses: android-actions/setup-android@v2
2745
with:

0 commit comments

Comments
 (0)