@@ -3,22 +3,22 @@ name: Build FFmpeg
33on :
44 push :
55 paths-ignore :
6- - ' **.md'
7- - ' LICENSE'
6+ - " **.md"
7+ - " LICENSE"
88 workflow_dispatch :
99 inputs :
1010 doRelease :
11- description : ' Publish new release'
11+ description : " Publish new release"
1212 type : boolean
1313 default : false
1414 required : false
1515 buildOnly :
16- description : ' Only build ffmpeg'
16+ description : " Only build ffmpeg"
1717 type : boolean
1818 default : false
1919 required : false
2020 schedule :
21- - cron : ' 0 12 * * *'
21+ - cron : " 0 12 * * *"
2222
2323env :
2424 DOCKER_BUILDKIT : 1
3232 - name : Repo Check
3333 if : ${{ github.event_name == 'schedule' }}
3434 run : |
35- if [[ "$GITHUB_REPOSITORY" != "BtbN /FFmpeg-Builds" ]]; then
35+ if [[ "$GITHUB_REPOSITORY" != "BenLocal /FFmpeg-Builds" ]]; then
3636 echo "When forking this repository to make your own builds, you have to adjust this check."
3737 echo "When doing so make sure to randomize the scheduled cron time above, in order to spread out the various build times as much as possible."
3838 echo "This has been put in place due to the enormous amounts of traffic hundreds/thousands of parallel builds can cause on external infrastructure."
5252 strategy :
5353 fail-fast : false
5454 matrix :
55- runner : [ubuntu-latest,ubuntu-24.04-arm]
55+ runner : [ubuntu-latest, ubuntu-24.04-arm]
5656 runs-on : ${{ matrix.runner }}
5757 steps :
5858 - name : Free Disk-Space
@@ -132,7 +132,7 @@ jobs:
132132 strategy :
133133 fail-fast : false
134134 matrix :
135- target : [win64,winarm64, linux64,linuxarm64]
135+ target : [linux64, linuxarm64]
136136 steps :
137137 - name : Free Disk-Space
138138 run : df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h
@@ -187,8 +187,22 @@ jobs:
187187 strategy :
188188 fail-fast : false
189189 matrix :
190- target : [win64,winarm64,linux64,linuxarm64]
191- variant : [gpl,lgpl,gpl 6.1,gpl 7.1,lgpl 6.1,lgpl 7.1,gpl-shared,lgpl-shared,gpl-shared 6.1,gpl-shared 7.1,lgpl-shared 6.1,lgpl-shared 7.1]
190+ target : [linux64, linuxarm64]
191+ variant :
192+ [
193+ gpl,
194+ lgpl,
195+ gpl 6.1,
196+ gpl 7.1,
197+ lgpl 6.1,
198+ lgpl 7.1,
199+ gpl-shared,
200+ lgpl-shared,
201+ gpl-shared 6.1,
202+ gpl-shared 7.1,
203+ lgpl-shared 6.1,
204+ lgpl-shared 7.1,
205+ ]
192206 steps :
193207 - name : Free Disk-Space
194208 run : df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h
@@ -252,8 +266,22 @@ jobs:
252266 strategy :
253267 fail-fast : false
254268 matrix :
255- target : [win64,winarm64,linux64,linuxarm64]
256- variant : [gpl,lgpl,gpl 6.1,gpl 7.1,lgpl 6.1,lgpl 7.1,gpl-shared,lgpl-shared,gpl-shared 6.1,gpl-shared 7.1,lgpl-shared 6.1,lgpl-shared 7.1]
269+ target : [linux64, linuxarm64]
270+ variant :
271+ [
272+ gpl,
273+ lgpl,
274+ gpl 6.1,
275+ gpl 7.1,
276+ lgpl 6.1,
277+ lgpl 7.1,
278+ gpl-shared,
279+ lgpl-shared,
280+ gpl-shared 6.1,
281+ gpl-shared 7.1,
282+ lgpl-shared 6.1,
283+ lgpl-shared 7.1,
284+ ]
257285 steps :
258286 - name : Free Disk-Space
259287 run : df -h && sudo apt-get clean && docker system prune -a -f && sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc && df -h
@@ -269,6 +297,8 @@ jobs:
269297 run : |
270298 T="$(echo -n ${{ github.token }} | sha256sum | head -c 64)" && echo -e "::add-mask::${T}\n::stop-commands::${T}"
271299 ./build.sh ${{ matrix.target }} ${{ matrix.variant }}
300+ env :
301+ FFMPEG_REPO : https://github.com/nyanmisaka/ffmpeg-rockchip.git
272302 - name : Replace spaces in string
273303 id : strs
274304 run : |
0 commit comments