Skip to content

Commit f152e30

Browse files
author
me
committed
merged
1 parent d0d20fd commit f152e30

File tree

1 file changed

+33
-34
lines changed

1 file changed

+33
-34
lines changed

.github/workflows/build_cpp.yml

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,39 @@ jobs:
174174
- name: Build ffmpeg example
175175
run: cmake --build build --config Release --target ffmpeg_video_muxing_ex --parallel 4
176176

177+
ubuntu-22-04-ffmpeg711:
178+
runs-on: 'ubuntu-22.04'
179+
steps:
180+
- uses: actions/checkout@v2
181+
182+
- name: Install dependencies
183+
run: |
184+
sudo apt update
185+
sudo apt install make yasm
186+
187+
- name: Cache FFmpeg 7
188+
uses: actions/cache@v3
189+
id: cache-ffmpeg7
190+
with:
191+
path: /home/runner/ffmpeg-n7.1.1_installation
192+
key: ffmpeg-n7.1.1_try1
193+
194+
- name: Build FFmpeg 7
195+
if: steps.cache-ffmpeg7.outputs.cache-hit != 'true'
196+
run: |
197+
wget https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n7.1.1.tar.gz
198+
tar -xf n7.1.1.tar.gz
199+
cd FFmpeg-n7.1.1
200+
./configure --prefix=/home/runner/ffmpeg-n7.1.1_installation --disable-doc --disable-programs
201+
make -j4
202+
make install
203+
cd ..
204+
205+
- name: Configure
206+
run: cmake . -B build -DCMAKE_PREFIX_PATH=/home/runner/ffmpeg-n7.1.1_installation
207+
- name: Build ffmpeg example
208+
run: cmake --build build --config Release --target ffmpeg_video_muxing_ex --parallel 4
209+
177210
ubuntu-latest-mkl-sequential:
178211
runs-on: 'ubuntu-latest'
179212
steps:
@@ -272,40 +305,6 @@ jobs:
272305

273306
- name: Test
274307
run: build/dtest --runall -q
275-
276-
277-
ubuntu-22-04-ffmpeg711:
278-
runs-on: 'ubuntu-22.04'
279-
steps:
280-
- uses: actions/checkout@v2
281-
282-
- name: Install dependencies
283-
run: |
284-
sudo apt update
285-
sudo apt install make yasm
286-
287-
- name: Cache FFmpeg 7
288-
uses: actions/cache@v3
289-
id: cache-ffmpeg7
290-
with:
291-
path: /home/runner/ffmpeg-n7.1.1_installation
292-
key: ffmpeg-n7.1.1_try1
293-
294-
- name: Build FFmpeg 7
295-
if: steps.cache-ffmpeg7.outputs.cache-hit != 'true'
296-
run: |
297-
wget https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n7.1.1.tar.gz
298-
tar -xf n7.1.1.tar.gz
299-
cd FFmpeg-n7.1.1
300-
./configure --prefix=/home/runner/ffmpeg-n7.1.1_installation --disable-doc --disable-programs
301-
make -j4
302-
make install
303-
cd ..
304-
305-
- name: Configure
306-
run: cmake . -B build -DCMAKE_PREFIX_PATH=/home/runner/ffmpeg-n7.1.1_installation
307-
- name: Build ffmpeg example
308-
run: cmake --build build --config Release --target ffmpeg_video_muxing_ex --parallel 4
309308

310309
windows-latest:
311310
runs-on: 'windows-latest'

0 commit comments

Comments
 (0)