Skip to content

Commit d6bb7df

Browse files
committed
add fftutorial
1 parent 4984f98 commit d6bb7df

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/apple-android-common.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ on:
4646
- dvdread
4747
- ffmpeg
4848
- ijkffmpeg
49+
- fftutorial
4950
- harfbuzz
5051
- fontconfig
5152
- freetype
@@ -81,6 +82,11 @@ jobs:
8182
- name: Install dependencies
8283
run: .github/workflows/install-dependencies.sh ${{ inputs.lib }} ${{ inputs.platform }}
8384
- name: One Step
84-
run: .github/workflows/onestep.sh ${{ inputs.lib }} ${{ inputs.platform }} ${{ inputs.dryrun }}
85+
run: |
86+
lib=${{ inputs.lib }}
87+
if [[ "$lib" == 'fftutorial' ]]; then
88+
lib=ffmpeg
89+
fi
90+
.github/workflows/onestep.sh "$lib" ${{ inputs.platform }} ${{ inputs.dryrun }}
8591
env:
8692
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

.github/workflows/install-dependencies.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,20 @@ case $LIB_NAME in
6767
./main.sh install -l 'openssl' -p $PLAT
6868
fi
6969
;;
70+
fftutorial)
71+
if [[ $PLAT == all ]];then
72+
./main.sh install -l 'openssl' -p ios
73+
./main.sh install -l 'openssl' -p tvos
74+
./main.sh install -l 'openssl' -p macos
75+
./main.sh install -l 'openssl' -p android
76+
elif [[ $PLAT == apple ]];then
77+
./main.sh install -l 'openssl' -p ios
78+
./main.sh install -l 'openssl' -p tvos
79+
./main.sh install -l 'openssl' -p macos
80+
else
81+
./main.sh install -l 'openssl' -p $PLAT
82+
fi
83+
;;
7084
harfbuzz)
7185
if [[ $PLAT == all ]];then
7286
./main.sh install -l 'freetype' -p ios

0 commit comments

Comments
 (0)