24
24
- ios
25
25
- tvos
26
26
- macos
27
+ dryrun :
28
+ description : ' just run workflow,but not deploy'
29
+ required : false
30
+ type : choice
31
+ default : ' false'
32
+ options :
33
+ - true
34
+ - false
27
35
pull_request :
28
36
branches : [master]
29
37
@@ -48,13 +56,13 @@ jobs:
48
56
run : |
49
57
echo '------compile unibreak------------------------------------'
50
58
rm -rf build || git reset --hard || git pull origin
51
- .github/workflows/onestep.sh unibreak ${{ inputs.platform }}
59
+ .github/workflows/onestep.sh unibreak ${{ inputs.platform }} ${{ inputs.dryrun }}
52
60
echo '------compile fribidi------------------------------------'
53
61
rm -rf build || git reset --hard || git pull origin
54
- .github/workflows/onestep.sh fribidi ${{ inputs.platform }}
62
+ .github/workflows/onestep.sh fribidi ${{ inputs.platform }} ${{ inputs.dryrun }}
55
63
echo '------compile freetype------------------------------------'
56
64
rm -rf build || git reset --hard || git pull origin
57
- .github/workflows/onestep.sh freetype ${{ inputs.platform }}
65
+ .github/workflows/onestep.sh freetype ${{ inputs.platform }} ${{ inputs.dryrun }}
58
66
if [[ ${{ inputs.platform }} == android ]]; then
59
67
echo '------compile android fontconfig------------------------------------'
60
68
rm -rf build || git reset --hard || git pull origin
@@ -64,42 +72,42 @@ jobs:
64
72
echo '------compile harfbuzz------------------------------------'
65
73
rm -rf build || git reset --hard || git pull origin
66
74
.github/workflows/install-dependencies.sh harfbuzz ${{ inputs.platform }}
67
- .github/workflows/onestep.sh harfbuzz ${{ inputs.platform }}
75
+ .github/workflows/onestep.sh harfbuzz ${{ inputs.platform }} ${{ inputs.dryrun }}
68
76
echo '------compile ass------------------------------------'
69
77
rm -rf build || git reset --hard || git pull origin
70
- .github/workflows/install-dependencies.sh ass ${{ inputs.platform }}
71
- .github/workflows/onestep.sh ass ${{ inputs.platform }}
78
+ .github/workflows/install-dependencies.sh ass ${{ inputs.platform }}
79
+ .github/workflows/onestep.sh ass ${{ inputs.platform }} ${{ inputs.dryrun }}
72
80
echo '------compile yuv------------------------------------'
73
81
rm -rf build || git reset --hard || git pull origin
74
- .github/workflows/onestep.sh yuv ${{ inputs.platform }}
82
+ .github/workflows/onestep.sh yuv ${{ inputs.platform }} ${{ inputs.dryrun }}
75
83
echo '------compile soundtouch------------------------------------'
76
84
rm -rf build || git reset --hard || git pull origin
77
- .github/workflows/onestep.sh soundtouch ${{ inputs.platform }}
85
+ .github/workflows/onestep.sh soundtouch ${{ inputs.platform }} ${{ inputs.dryrun }}
78
86
echo '------compile opus------------------------------------'
79
87
rm -rf build || git reset --hard || git pull origin
80
- .github/workflows/onestep.sh opus ${{ inputs.platform }}
88
+ .github/workflows/onestep.sh opus ${{ inputs.platform }} ${{ inputs.dryrun }}
81
89
echo '------compile openssl------------------------------------'
82
90
rm -rf build || git reset --hard || git pull origin
83
- .github/workflows/onestep.sh openssl ${{ inputs.platform }}
91
+ .github/workflows/onestep.sh openssl ${{ inputs.platform }} ${{ inputs.dryrun }}
84
92
echo '------compile dvdread------------------------------------'
85
93
rm -rf build || git reset --hard || git pull origin
86
- .github/workflows/onestep.sh dvdread ${{ inputs.platform }}
94
+ .github/workflows/onestep.sh dvdread ${{ inputs.platform }} ${{ inputs.dryrun }}
87
95
echo '------compile bluray------------------------------------'
88
96
rm -rf build || git reset --hard || git pull origin
89
97
.github/workflows/install-dependencies.sh bluray ${{ inputs.platform }}
90
- .github/workflows/onestep.sh bluray ${{ inputs.platform }}
98
+ .github/workflows/onestep.sh bluray ${{ inputs.platform }} ${{ inputs.dryrun }}
91
99
echo '------compile dav1d------------------------------------'
92
100
rm -rf build || git reset --hard || git pull origin
93
- .github/workflows/onestep.sh dav1d ${{ inputs.platform }}
101
+ .github/workflows/onestep.sh dav1d ${{ inputs.platform }} ${{ inputs.dryrun }}
94
102
echo '------compile uavs3d------------------------------------'
95
103
rm -rf build || git reset --hard || git pull origin
96
- .github/workflows/onestep.sh uavs3d ${{ inputs.platform }}
104
+ .github/workflows/onestep.sh uavs3d ${{ inputs.platform }} ${{ inputs.dryrun }}
97
105
echo '------compile smb2------------------------------------'
98
106
rm -rf build || git reset --hard || git pull origin
99
- .github/workflows/onestep.sh smb2 ${{ inputs.platform }}
107
+ .github/workflows/onestep.sh smb2 ${{ inputs.platform }} ${{ inputs.dryrun }}
100
108
echo '------compile ffmpeg------------------------------------'
101
109
rm -rf build || git reset --hard || git pull origin
102
110
.github/workflows/install-dependencies.sh ffmpeg ${{ inputs.platform }}
103
- .github/workflows/onestep.sh ffmpeg ${{ inputs.platform }}
111
+ .github/workflows/onestep.sh ffmpeg ${{ inputs.platform }} ${{ inputs.dryrun }}
104
112
env :
105
113
ANDROID_NDK_HOME : ${{ steps.setup-ndk.outputs.ndk-path }}
0 commit comments