forked from debugly/MRFFToolChainBuildShell
-
Notifications
You must be signed in to change notification settings - Fork 0
119 lines (117 loc) · 5.57 KB
/
all.yml
File metadata and controls
119 lines (117 loc) · 5.57 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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
- ios
- tvos
- macos
- all
dryrun:
description: 'just run workflow,but not deploy'
required: false
type: choice
default: 'false'
options:
- true
- false
pull_request:
branches: [master]
name: Create all library Release
jobs:
build:
name: compile all libs 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: One Step
run: |
echo '------compile unibreak------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh unibreak ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile fribidi------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh fribidi ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile freetype------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh freetype ${{ inputs.platform }} ${{ inputs.dryrun }}
if [[ ${{ inputs.platform }} == android ]]; then
echo '------compile android fontconfig------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh fontconfig android
.github/workflows/onestep.sh fontconfig android ${{ inputs.dryrun }}
fi
echo '------compile harfbuzz------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh harfbuzz ${{ inputs.platform }}
.github/workflows/onestep.sh harfbuzz ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile ass------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh ass ${{ inputs.platform }}
.github/workflows/onestep.sh ass ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile yuv------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh yuv ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile soundtouch------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh soundtouch ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile opus------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh opus ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile openssl3------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh openssl3 ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile dvdread------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh dvdread ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile dvdnav------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh dvdnav ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile bluray------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh bluray ${{ inputs.platform }}
.github/workflows/onestep.sh bluray ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile dav1d------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh dav1d ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile uavs3d------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh uavs3d ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile smb2------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh smb2 ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile webp------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/onestep.sh webp ${{ inputs.platform }} ${{ inputs.dryrun }}
echo '------compile ffmpeg7------------------------------------'
rm -rf build || git reset --hard || git pull origin
.github/workflows/install-dependencies.sh ffmpeg7 ${{ inputs.platform }}
.github/workflows/onestep.sh ffmpeg7 ${{ inputs.platform }} ${{ inputs.dryrun }}
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}