forked from debugly/MRFFToolChainBuildShell
-
Notifications
You must be signed in to change notification settings - Fork 0
93 lines (90 loc) · 2.12 KB
/
apple-android-common.yml
File metadata and controls
93 lines (90 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# https://github.com/actions/runner-images
on:
# push:
# branches: [master]
workflow_dispatch:
inputs:
os:
description: 'macos version'
required: false
type: choice
default: 'macos-14'
options:
- macos-13
- macos-14
- macos-15
platform:
description: 'choose a platform for compile'
required: false
type: choice
default: 'all'
options:
- apple
- android
- all
- ios
- tvos
- macos
dryrun:
description: 'just run workflow,but not deploy'
required: false
type: choice
default: 'false'
options:
- true
- false
lib:
description: 'choose a lib for compile'
required: true
type: choice
default: 'ffmpeg7'
options:
- ffmpeg7
- ffmpeg6
- ffmpeg5
- ffmpeg4
- ijkffmpeg
- fftutorial
- ass
- bluray
- dav1d
- dvdread
- dvdnav
- harfbuzz
- fontconfig
- freetype
- fribidi
- openssl3
- openssl
- opus
- smb2
- soundtouch
- uavs3d
- unibreak
- yuv
- xml2
- webp
pull_request:
branches: [master]
name: apple-android-common
jobs:
build:
name: compile ${{ inputs.lib }} for ${{ inputs.platform }} then deploy
runs-on: ${{ inputs.os }}
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r27c
add-to-path: true
local-cache: false
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: .github/workflows/install-dependencies.sh ${{ inputs.lib }} ${{ inputs.platform }}
- name: One Step
run: .github/workflows/onestep.sh ${{ inputs.lib }} ${{ inputs.platform }} ${{ inputs.dryrun }}
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}