@@ -2,59 +2,14 @@ name: Build
22runs :
33 using : composite
44 steps :
5- - name : ' preparation: Checkout openh264'
6- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7- with :
8- repository : ' cisco/openh264'
9- ref : ' openh264v2.4.0'
10- path : ' openh264'
11- - name : ' preparation: Checkout FFmpeg'
12- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13- with :
14- repository : ' FFmpeg/FFmpeg'
15- ref : ' release/7.0'
16- path : ' ffmpeg'
17- - name : ' configuration: Install the build dependency'
18- run : |
19- sudo apt update
20- sudo apt-get remove -y pipenv || true
21- sudo apt-get install -y \
22- git gcc meson tar zip \
23- pkg-config \
24- python3 \
25- python3-pyelftools \
26- python3-virtualenv \
27- python3-pip \
28- libnuma-dev \
29- libjson-c-dev \
30- libpcap-dev \
31- libgtest-dev \
32- libsdl2-dev \
33- libsdl2-ttf-dev \
34- libssl-dev \
35- systemtap-sdt-dev \
36- libbpf-dev \
37- libelf1 \
38- gstreamer1.0-plugins-base \
39- gstreamer1.0-plugins-good \
40- gstreamer1.0-tools \
41- gstreamer1.0-libav \
42- libgstreamer1.0-dev \
43- libgstreamer-plugins-base1.0-dev \
44- patch \
45- unzip
46- shell : bash
47- - name : ' installation: Build mtl'
48- run : |
49- ./build.sh
50- sudo ldconfig
51- shell : bash
52- - name : ' installation: Build FFmpeg'
53- working-directory : ecosystem/ffmpeg_plugin
54- run : ./build.sh
55- shell : bash
56- - name : ' installation: Build GStreamer'
57- working-directory : ecosystem/gstreamer_plugin
58- run : |
59- ./build.sh
60- shell : bash
5+ - name : Setup environment and build
6+ shell : bash
7+ env :
8+ SETUP_BUILD_AND_INSTALL_DPDK : ' 0'
9+ SETUP_BUILD_AND_INSTALL_ICE_DRIVER : ' 0'
10+ SETUP_BUILD_AND_INSTALL_EBPF_XDP : ' 0'
11+ SETUP_BUILD_AND_INSTALL_GPU_DIRECT : ' 0'
12+ MTL_BUILD_AND_INSTALL : ' 1'
13+ ECOSYSTEM_BUILD_AND_INSTALL_FFMPEG_PLUGIN : ' 1'
14+ ECOSYSTEM_BUILD_AND_INSTALL_GSTREAMER_PLUGIN : ' 1'
15+ run : bash .github/scripts/setup_environment.sh
0 commit comments