-
Notifications
You must be signed in to change notification settings - Fork 26
733 lines (685 loc) · 22.4 KB
/
ci.yml
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
# We can do more optimization here, e.g. job `rust_clippy_check` compiles
# FFmpeg, while `build_and_test` also compiles FFmpeg, that takes a lot of time.
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
rustfmt_check:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --all -- --check
rust_clippy_check_ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
# https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
- name: Install FFmpegBuildTools
run: |
sudo apt-get update -qq && sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libgnutls28-dev \
libsdl2-dev \
libtool \
libva-dev \
libvdpau-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
pkg-config \
texinfo \
wget \
yasm \
zlib1g-dev \
nasm \
libx264-dev \
libx265-dev \
libnuma-dev \
libvpx-dev \
libfdk-aac-dev \
libmp3lame-dev \
libopus-dev
- run: |
git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
cd ffmpeg
mkdir build
cd build
../configure --prefix=${PWD}/build
make -j$(nproc)
make install
cp -r ./build ~/ffmpeg_build
cd ../..
- run: |
FFMPEG_INCLUDE_DIR=${HOME}/ffmpeg_build/include \
FFMPEG_PKG_CONFIG_PATH=${HOME}/ffmpeg_build/lib/pkgconfig \
cargo clippy -- -D warnings
rust_clippy_check_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
# Using this since it's used by clang-sys's CI
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "10.0"
directory: ${{ github.workspace }}/clang
- name: Cache vcpkg
id: cache
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/vcpkg
key: vcpkg-${{ runner.os }}-x64-windows-static-md
- name: Build vcpkg
if: steps.cache.outputs.cache-hit != 'true'
run: |
git clone https://github.com/microsoft/vcpkg --depth 1
./vcpkg/bootstrap-vcpkg.bat
- name: Install Dependencies
run: |
./vcpkg/vcpkg.exe install ffmpeg:x64-windows-static-md
- name: Clippy check
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
LIBCLANG_PATH: ${{ github.workspace }}/clang/lib
LLVM_CONFIG_PATH: ${{ github.workspace }}/clang/bin/llvm-config
run: cargo clippy --features link_vcpkg_ffmpeg -- -D warnings
build_static_and_test_ubuntu_with_system_ffmpeg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
# https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
- name: Install FFmpegBuildTools
run: |
sudo apt-get update -qq && sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libgnutls28-dev \
libsdl2-dev \
libtool \
libva-dev \
libvdpau-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
pkg-config \
texinfo \
wget \
yasm \
zlib1g-dev \
nasm \
libx264-dev \
libx265-dev \
libnuma-dev \
libvpx-dev \
libfdk-aac-dev \
libmp3lame-dev \
libopus-dev \
libraw1394-dev \
libdc1394-dev \
libavc1394-dev \
libiec61883-dev \
libjack-dev \
libfaad-dev \
libgsm1-dev \
libzmq3-dev \
libssh-dev \
libbluray-dev \
libopenmpt-dev \
ocl-icd-opencl-dev \
libogg-dev \
libspeex-dev \
libtheora-dev \
flite1-dev \
libchromaprint-dev \
libopenal-dev \
libcdio-dev \
libcaca-dev \
libpocketsphinx-dev \
libsphinxbase-dev \
libbs2b-dev \
liblilv-dev \
libsratom-dev \
libsord-dev \
libserd-dev \
librubberband-dev \
libsamplerate0-dev \
libmysofa-dev \
libvidstab-dev \
libzimg-dev \
libgme-dev \
librabbitmq-dev \
libdav1d-dev \
libzvbi-dev \
libsnappy-dev \
libaom-dev \
libcodec2-dev \
libshine-dev \
libtwolame-dev \
libwebp-dev \
libxvidcore-dev \
libsoxr-dev \
libcdio-paranoia-dev \
libcdio-cdda-dev \
libsrt-gnutls-dev \
libmfx-dev \
libvorbis-dev
- name: Install System FFmpeg
run: |
sudo apt-get update -qq && sudo apt-get -y install \
libavcodec-dev \
libavdevice-dev \
libavfilter-dev \
libavformat-dev \
libavutil-dev \
libpostproc-dev \
libswresample-dev \
libswscale-dev
- name: Clippy check
run: cargo clippy --features link_system_ffmpeg -- -D warnings
# Currently disable until system ffmpeg upgrades to FFmpeg 7.0
# - name: Run Slice Example
# run: cargo run --example slice --features link_system_ffmpeg
- name: Check test result correctness
run: |
if [[ -z "$(git status --porcelain)" ]]; then
echo "0"
else
echo "1"
fi
build_static_and_test_ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
# https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
- name: Install FFmpegBuildTools
run: |
sudo apt-get update -qq && sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libgnutls28-dev \
libsdl2-dev \
libtool \
libva-dev \
libvdpau-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
pkg-config \
texinfo \
wget \
yasm \
zlib1g-dev
sudo apt-get -y install nasm
sudo apt-get -y install libx264-dev
sudo apt-get -y install libx265-dev libnuma-dev
sudo apt-get -y install libvpx-dev
sudo apt-get -y install libfdk-aac-dev
sudo apt-get -y install libmp3lame-dev
sudo apt-get -y install libopus-dev
# Disable exr,phm to workaround "multiple definition of 'ff_init_half2float_tables'"
# Ref: `https://github.com/larksuite/rsmpeg/pull/98#issuecomment-1467511193`
- run: |
git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
cd ffmpeg
mkdir build
cd build
../configure --disable-decoder=exr,phm --prefix=${PWD}/build
make -j$(nproc)
make install
cp -r ./build ~/ffmpeg_build
cd ../..
- name: Binding Test
run: |
FFMPEG_INCLUDE_DIR=${HOME}/ffmpeg_build/include \
FFMPEG_PKG_CONFIG_PATH=${HOME}/ffmpeg_build/lib/pkgconfig \
cargo test --verbose
- name: Run Slice Example
run: |
FFMPEG_INCLUDE_DIR=${HOME}/ffmpeg_build/include \
FFMPEG_PKG_CONFIG_PATH=${HOME}/ffmpeg_build/lib/pkgconfig \
cargo run --example slice
- name: Check test result correctness
run: |
if [[ -z "$(git status --porcelain)" ]]; then
echo "0"
else
echo "1"
fi
build_with_vcpkg_ffmpeg_windows:
runs-on: windows-latest
strategy:
matrix:
config:
- target: "x86_64-pc-windows-msvc"
vcpkg_triplet: "x64-windows-static"
rustflags: "-Ctarget-feature=+crt-static"
- target: "x86_64-pc-windows-msvc"
vcpkg_triplet: "x64-windows-static-md"
- target: "x86_64-pc-windows-msvc"
vcpkg_triplet: "x64-windows"
dynamic: true
- target: "i686-pc-windows-msvc"
vcpkg_triplet: "x86-windows-static"
rustflags: "-Ctarget-feature=+crt-static"
- target: "i686-pc-windows-msvc"
vcpkg_triplet: "x86-windows-static-md"
- target: "i686-pc-windows-msvc"
vcpkg_triplet: "x86-windows"
dynamic: true
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: ${{ matrix.config.target }}
# Using this since it's used by clang-sys's CI
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "10.0"
directory: ${{ github.workspace }}/clang
- name: Cache vcpkg
id: cache
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/vcpkg
key: vcpkg-${{ runner.os }}-${{ matrix.config.vcpkg_triplet }}
- name: Build vcpkg
if: steps.cache.outputs.cache-hit != 'true'
run: |
git clone https://github.com/microsoft/vcpkg --depth 1
./vcpkg/bootstrap-vcpkg.bat
- name: Install Dependencies
run: |
./vcpkg/vcpkg install ffmpeg:${{ matrix.config.vcpkg_triplet }}
- name: Set env
shell: bash
run: |
if [ '${{ matrix.config.dynamic }}' != '' ]; then
echo "VCPKGRS_DYNAMIC=1" >> $GITHUB_ENV
fi
- name: Binding build
shell: bash
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
RUSTFLAGS: ${{ matrix.config.rustflags }}
VCPKG_DEFAULT_TRIPLET: ${{ matrix.config.vcpkg_triplet }}
LIBCLANG_PATH: ${{ github.workspace }}/clang/lib
LLVM_CONFIG_PATH: ${{ github.workspace }}/clang/bin/llvm-config
run: cargo build --features link_vcpkg_ffmpeg --target ${{ matrix.config.target }} --verbose
build_dynamic_and_test_ubuntu:
runs-on: ubuntu-latest
steps:
- name: Build x264
# Since github actions use 2 core cpu
run: |
git clone https://github.com/mirror/x264 --depth 1
cd x264
mkdir build
cd build
../configure \
--prefix=${PWD}/build \
--disable-cli \
--enable-static \
--enable-strip \
--enable-pic \
--disable-asm
make -j$(nproc)
make install
cp -r ./build ~/x264_prebuilt
cd ../..
- name: Build FFmpeg dylib
run: |
git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
cd ffmpeg
mkdir build
cd build
../configure --help
PKG_CONFIG_PATH="${HOME}/x264_prebuilt/lib/pkgconfig" ../configure \
--prefix=${PWD}/build \
--enable-small \
--disable-debug \
--disable-programs \
--disable-postproc \
--disable-doc \
--disable-hwaccels \
--disable-parsers \
--disable-bsfs \
--disable-x86asm \
--disable-indevs \
--disable-outdevs \
--disable-devices \
--disable-decoders \
--enable-decoder=aac,ac3,flac,mp3,hevc,vp8,mpeg4,h263,h264,ass,srt,text \
--disable-encoders \
--enable-encoder=aac,ac3,flac,libx264,ass,ssa,srt,text,mpeg4 \
--disable-filters \
--enable-filter=scale \
--enable-gpl \
--enable-libx264 \
--enable-pic \
--disable-vaapi \
--disable-vdpau \
--disable-xlib
make -j$(nproc)
make install
cd build/lib/
cp ~/x264_prebuilt/lib/libx264.a .
gcc -shared -o libffmpeg.so \
-Wl,--whole-archive *.a -Wl,--no-whole-archive \
-Wl,-Bsymbolic \
-lz \
-lm \
-lbz2
cd ../..
cp -r ./build ~/ffmpeg_prebuilt
cd ../..
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- env:
FFMPEG_INCLUDE_DIR: ${{ github.workspace }}/ffmpeg_prebuilt/include
FFMPEG_DLL_PATH: ${{ github.workspace }}/ffmpeg_prebuilt/lib/libffmpeg.so
LD_LIBRARY_PATH: ${{ github.workspace }}/ffmpeg_prebuilt/lib/
run: |
cp -r ~/ffmpeg_prebuilt ${{ github.workspace }}/ffmpeg_prebuilt
cargo build --example slice
cargo run --example slice
build_dynamic_and_test_macos:
runs-on: macos-latest
steps:
- name: Build x264
run: |
git clone https://github.com/mirror/x264 --depth 1
cd x264
mkdir build
cd build
../configure \
--prefix=${PWD}/build \
--disable-cli \
--enable-static \
--enable-strip \
--enable-pic \
--disable-asm \
--extra-cflags=-mmacosx-version-min=10.9
make -j$(nproc)
make install
cp -r ./build ~/x264_prebuilt
cd ../..
- name: Build FFmpeg dylib
run: |
git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
cd ffmpeg
mkdir build
cd build
../configure --help
CFLAGS="-mmacosx-version-min=10.9" PKG_CONFIG_PATH="${HOME}/x264_prebuilt/lib/pkgconfig" ../configure \
--prefix=${PWD}/build \
--enable-small \
--disable-debug \
--disable-programs \
--disable-postproc \
--disable-doc \
--disable-hwaccels \
--disable-parsers \
--disable-bsfs \
--disable-x86asm \
--disable-indevs \
--disable-outdevs \
--disable-devices \
--disable-decoders \
--enable-decoder=aac,ac3,flac,mp3,hevc,vp8,mpeg4,h263,h264,ass,srt,text \
--disable-encoders \
--enable-encoder=aac,ac3,flac,libx264,ass,ssa,srt,text,mpeg4 \
--disable-filters \
--enable-filter=scale \
--enable-gpl \
--enable-libx264 \
--enable-pic
make -j$(sysctl -n hw.logicalcpu)
make install
cd build/lib/
cp ~/x264_prebuilt/lib/libx264.a .
gcc -shared -o libffmpeg.dylib \
-framework CoreFoundation \
-framework CoreMedia \
-framework CoreVideo \
-framework Security \
-framework VideoToolbox \
-lbz2 \
-liconv \
-lz \
-Wl,-all_load *.a \
-mmacosx-version-min=10.9
cd ../..
cp -r ./build ~/ffmpeg_prebuilt
cd ../..
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- env:
FFMPEG_INCLUDE_DIR: ${{ github.workspace }}/ffmpeg_prebuilt/include
FFMPEG_DLL_PATH: ${{ github.workspace }}/ffmpeg_prebuilt/lib/libffmpeg.dylib
run: |
cp -r ~/ffmpeg_prebuilt ${{ github.workspace }}/ffmpeg_prebuilt
cargo build --example slice
cp ${{ github.workspace }}/ffmpeg_prebuilt/lib/libffmpeg.dylib .
cargo run --example slice
build_dynamic_and_test_windows_pre:
runs-on: ubuntu-latest
steps:
- name: Install deps
run: |
sudo apt-get update -qq && sudo apt-get install -y mingw-w64
- name: Build x264
run: |
git clone https://github.com/mirror/x264 --depth 1
cd x264
mkdir build
cd build
../configure \
--prefix=${PWD}/build \
--disable-cli \
--enable-static \
--enable-strip \
--enable-pic \
--disable-asm \
--host=i686-w64-mingw32 \
--cross-prefix=i686-w64-mingw32-
make -j$(nproc)
make install
cp -r ./build ~/x264_prebuilt_cross
cd ../..
- name: Build FFmpeg
run: |
git clone https://github.com/ffmpeg/ffmpeg --depth 1 --single-branch --branch release/7.0
cd ffmpeg
mkdir build
cd build
PKG_CONFIG_PATH="${HOME}/x264_prebuilt_cross/lib/pkgconfig" ../configure \
--prefix=${PWD}/build \
--enable-small \
--disable-debug \
--disable-programs \
--disable-postproc \
--disable-doc \
--disable-hwaccels \
--disable-parsers \
--disable-bsfs \
--disable-x86asm \
--disable-indevs \
--disable-outdevs \
--disable-devices \
--disable-decoders \
--enable-decoder=aac,ac3,flac,mp3,hevc,vp8,mpeg4,h263,h264,ass,srt,text \
--disable-encoders \
--enable-encoder=aac,ac3,flac,libx264,ass,ssa,srt,text,mpeg4 \
--disable-filters \
--enable-filter=scale \
--enable-gpl \
--enable-libx264 \
--enable-pic \
--arch=x86 \
--target-os=mingw32 \
--cross-prefix=i686-w64-mingw32- \
--pkg-config=pkg-config
make -j$(nproc)
make install
cd build/lib/
cp ~/x264_prebuilt_cross/lib/libx264.a .
i686-w64-mingw32-gcc -shared -o libffmpeg.dll \
-Wl,--out-implib,libffmpeg.lib \
-Wl,--whole-archive *.a -Wl,--no-whole-archive \
-lgdi32 \
-lpsapi \
-lole32 \
-lstrmiids \
-luuid \
-loleaut32 \
-lshlwapi \
-luser32 \
-lws2_32 \
-lvfw32 \
-luser32 \
-lsecur32 \
-lbcrypt \
-lm \
-lpsapi \
-ladvapi32 \
-lshell32 \
-lole32 \
-static-libgcc \
-static-libstdc++
cd ../..
- name: Upload Cross Compiled FFmpeg for Windows
uses: actions/upload-artifact@v4
with:
name: cross_ffmpeg
path: ffmpeg/build/build
build_dynamic_and_test_windows:
runs-on: windows-latest
needs: build_dynamic_and_test_windows_pre
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: i686-pc-windows-msvc
- name: Download Cross Compiled FFmpeg for Windows
uses: actions/download-artifact@v4
with:
name: cross_ffmpeg
path: ${{ github.workspace }}/ffmpeg_prebuilt_cross
# Using this since it's used by clang-sys's CI
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "10.0"
directory: ${{ github.workspace }}/clang
- env:
FFMPEG_INCLUDE_DIR: ${{ github.workspace }}/ffmpeg_prebuilt_cross/include
FFMPEG_DLL_PATH: ${{ github.workspace }}/ffmpeg_prebuilt_cross/lib/libffmpeg.dll
LIBCLANG_PATH: ${{ github.workspace }}/clang/lib
LLVM_CONFIG_PATH: ${{ github.workspace }}/clang/bin/llvm-config
run: |
cargo build --target i686-pc-windows-msvc --example slice
copy ${{ github.workspace }}/ffmpeg_prebuilt_cross/lib/libffmpeg.dll .
cargo run --target i686-pc-windows-msvc --example slice
# Check if correct documentation can be generated by docs.rs
docs_rs_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
# https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
- name: Install FFmpegBuildTools
run: |
sudo apt-get update -qq && sudo apt-get -y install \
autoconf \
automake \
build-essential \
cmake \
git-core \
libass-dev \
libfreetype6-dev \
libgnutls28-dev \
libsdl2-dev \
libtool \
libva-dev \
libvdpau-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-shm0-dev \
libxcb-xfixes0-dev \
pkg-config \
texinfo \
wget \
yasm \
zlib1g-dev
sudo apt-get -y install nasm
sudo apt-get -y install libx264-dev
sudo apt-get -y install libx265-dev libnuma-dev
sudo apt-get -y install libvpx-dev
sudo apt-get -y install libfdk-aac-dev
sudo apt-get -y install libmp3lame-dev
sudo apt-get -y install libopus-dev
- name: Set env
run: echo "DOCS_RS=1" >> $GITHUB_ENV
- name: Binding Build
run: cargo build --verbose
- name: Document Generation
run: cargo doc --verbose