Add: MTL common handle support in GStreamer #1132
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ecosystem build checker | |
on: | |
# allow manually trigger | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- 'maint-**' | |
pull_request: | |
branches: | |
- main | |
- 'maint-**' | |
permissions: | |
contents: read | |
jobs: | |
changes: | |
runs-on: 'ubuntu-22.04' | |
permissions: | |
pull-requests: read | |
outputs: | |
changed: ${{ steps.filter.outputs.ecosystem == 'true' }} | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v2 | |
id: filter | |
with: | |
filters: .github/path_filters.yml | |
build: | |
needs: changes | |
if: ${{ github.repository == 'OpenVisualCloud/Media-Transport-Library' && needs.changes.outputs.changed == 'true' }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
os: ['ubuntu-22.04'] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Install the build dependency | |
run: | | |
sudo apt-get update --fix-missing -y | |
sudo apt-get install --no-install-recommends -y sudo git gcc gcc-multilib meson python3 python3-pyelftools pkg-config libnuma-dev libjson-c-dev libpcap-dev libgtest-dev libsdl2-dev libsdl2-ttf-dev libssl-dev llvm clang | |
sudo apt-get install --no-install-recommends -y dpdk-dev systemtap-sdt-dev software-properties-common | |
sudo apt-get install --no-install-recommends -y libobs-dev swig | |
- name: Git config | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" | |
- name: Build | |
run: | | |
./build.sh | |
- name: Build obs plugin | |
run: | | |
./script/build_obs_plugin.sh | |
- name: Build librist with mtl | |
run: | | |
cd ecosystem/librist/ | |
./build_librist_mtl.sh | |
- name: Build python binding | |
run: | | |
./script/build_python.sh | |
- name: Build Rust binding | |
run: | | |
cd rust/ | |
cargo clippy --all-targets | |
cargo build --all-targets --verbose | |
cd imtl-sys | |
cargo test --verbose |