@@ -37,19 +37,29 @@ jobs:
3737 fileName : ffmpeg-7.0-full_build-shared.7z
3838 tarBall : false
3939 zipBall : false
40+ - name : Get FFmpeg 8
41+ uses : robinraju/release-downloader@v1
42+ with :
43+ repository : GyanD/codexffmpeg
44+ tag : " 8.0"
45+ fileName : ffmpeg-8.0-full_build-shared.7z
46+ tarBall : false
47+ zipBall : false
4048 # A note to myself and other: FFmpeg build is for x64, but it doesn't matter. Only the include files are
4149 # necessary for NAV to work as it will use runtime loading.
4250 - name : Extract FFmpeg
4351 run : |
4452 7z x ffmpeg-5.0-full_build-shared.7z
4553 7z x ffmpeg-6.0-full_build-shared.7z
4654 7z x ffmpeg-7.0-full_build-shared.7z
55+ 7z x ffmpeg-8.0-full_build-shared.7z
4756 - name : Configure
4857 run : |
4958 cmake -Bbuild -S. -A ${{ matrix.PLATFORM }} --install-prefix %CD%\install -DBUILD_SHARED_LIBS=1 ^
5059 -DFFMPEG5_DIR=%CD%\ffmpeg-5.0-full_build-shared ^
5160 -DFFMPEG6_DIR=%CD%\ffmpeg-6.0-full_build-shared ^
52- -DFFMPEG7_DIR=%CD%\ffmpeg-7.0-full_build-shared
61+ -DFFMPEG7_DIR=%CD%\ffmpeg-7.0-full_build-shared ^
62+ -DFFMPEG8_DIR=%CD%\ffmpeg-8.0-full_build-shared
5363 - name : Install
5464 run : cmake --build build --config RelWithDebInfo --target install -j%NUMBER_OF_PROCESSORS%
5565 - name : Artifact
@@ -173,13 +183,36 @@ jobs:
173183 cd build
174184 ../configure --disable-doc --disable-encoders --disable-programs --disable-static --enable-shared --disable-x86asm --prefix=$PWD/installdir
175185 make install -j$(nproc)
186+ # FFmpeg 8
187+ - name : Checkout FFmpeg 8
188+ uses : actions/checkout@v4
189+ with :
190+ repository : FFmpeg/FFmpeg
191+ ref : n8.0
192+ path : ffmpeg8
193+ - name : Cache FFmpeg 8
194+ id : ffmpeg8
195+ uses : actions/cache@v4
196+ with :
197+ path : ffmpeg8/build/installdir
198+ key : ffmpeg8
199+ - name : Build FFmpeg 8
200+ if : steps.ffmpeg8.outputs.cache-hit != 'true'
201+ working-directory : ffmpeg8
202+ run : |
203+ set -e
204+ mkdir build
205+ cd build
206+ ../configure --disable-doc --disable-encoders --disable-programs --disable-static --enable-shared --disable-x86asm --prefix=$PWD/installdir
207+ make install -j$(nproc)
176208 - name : Configure
177209 run : |
178210 cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=RelWithDebInfo --install-prefix $PWD/install -DBUILD_SHARED_LIBS=1 \
179211 -DFFMPEG4_DIR=$PWD/ffmpeg4/build/installdir \
180212 -DFFMPEG5_DIR=$PWD/ffmpeg5/build/installdir \
181213 -DFFMPEG6_DIR=$PWD/ffmpeg6/build/installdir \
182- -DFFMPEG7_DIR=$PWD/ffmpeg7/build/installdir
214+ -DFFMPEG7_DIR=$PWD/ffmpeg7/build/installdir \
215+ -DFFMPEG8_DIR=$PWD/ffmpeg8/build/installdir
183216 - name : Install
184217 run : cmake --build build --target install -j$(nproc)
185218 - name : Artifact
0 commit comments