Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add python binding build #700

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/path_filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ ffmpeg_plugin: &ffmpeg_plugin
- 'ecosystem/ffmpeg_plugin/**'
- .github/workflows/ffmpeg_plugin.yml

librist: &librist
- *api
- "ecosystem/librist/**"
- .github/workflows/rist.yml

obs_plugin: &obs_plugin
ecosystem: &ecosystem
- *api
- .github/workflows/ecosystem.yml
- 'ecosystem/obs_mtl/**'
- .github/workflows/obs.yml
- "ecosystem/librist/**"

dpdk_patches: &dpdk_patches
- 'patches/dpdk/**'
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/obs.yml → .github/workflows/ecosystem.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OBS build
name: ecosystem build checker

on:
push:
Expand All @@ -24,7 +24,7 @@ jobs:
permissions:
pull-requests: read
outputs:
changed: ${{ steps.filter.outputs.obs_plugin == 'true' }}
changed: ${{ steps.filter.outputs.ecosystem == 'true' }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

Expand Down Expand Up @@ -58,6 +58,7 @@ jobs:
apt-get install -y sudo git gcc meson python3 python3-pip pkg-config libnuma-dev libjson-c-dev libpcap-dev libgtest-dev libsdl2-dev libsdl2-ttf-dev libssl-dev
apt-get install -y dpdk-dev
apt-get install -y libobs-dev
apt-get install -y swig

- name: Install the python package
run: pip install pyelftools==0.29 ninja==1.11.1
Expand All @@ -74,3 +75,12 @@ jobs:
- 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
76 changes: 0 additions & 76 deletions .github/workflows/rist.yml

This file was deleted.