-
Notifications
You must be signed in to change notification settings - Fork 73
Ci: Workflow improvements #1252
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
07a39e7
Add dual marker
staszczuk 976e56d
Revert "Ci: add repository condition for validation jobs in smoke tes…
staszczuk 769cf8d
Revert "Fix failing smoke tests for CICD (#1257)"
staszczuk 6d635c9
Move build to composite action
staszczuk a483132
Remove DPDK build
staszczuk c8f2a36
Remove unused env vars
staszczuk 3612519
Remove unused outputs
staszczuk 003eb38
Merge jobs
staszczuk 8665ce6
Rename venv
staszczuk 1ae5143
Update labels
staszczuk 7bdeb9e
Move action file
staszczuk 1cfd3f9
Fix paths
staszczuk d7896fc
Move checkout MTL step to workflow files
staszczuk df9cad9
Set shell for run steps
staszczuk 1a5b460
Remove Harden-Runner from build action file
staszczuk 7b8f609
Move Harden-Runner step
staszczuk 73709e0
Move and update owner restoration step
staszczuk de26f91
Correct labels
staszczuk ca56058
Merge branch 'main' into pstaszczuk/dual_host_tests_workflow
staszczuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Build | ||
runs: | ||
using: composite | ||
steps: | ||
- name: 'preparation: Checkout openh264' | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
repository: 'cisco/openh264' | ||
ref: 'openh264v2.4.0' | ||
path: 'openh264' | ||
- name: 'preparation: Checkout FFmpeg' | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
repository: 'FFmpeg/FFmpeg' | ||
ref: 'release/7.0' | ||
path: 'ffmpeg' | ||
- name: 'configuration: Install the build dependency' | ||
run: | | ||
sudo apt update | ||
sudo apt-get remove -y pipenv || true | ||
sudo apt-get install -y \ | ||
git gcc meson tar zip \ | ||
pkg-config \ | ||
python3 \ | ||
python3-pyelftools \ | ||
python3-virtualenv \ | ||
python3-pip \ | ||
libnuma-dev \ | ||
libjson-c-dev \ | ||
libpcap-dev \ | ||
libgtest-dev \ | ||
libsdl2-dev \ | ||
libsdl2-ttf-dev \ | ||
libssl-dev \ | ||
systemtap-sdt-dev \ | ||
libbpf-dev \ | ||
libelf1 \ | ||
gstreamer1.0-plugins-base \ | ||
gstreamer1.0-plugins-good \ | ||
gstreamer1.0-tools \ | ||
gstreamer1.0-libav \ | ||
libgstreamer1.0-dev \ | ||
libgstreamer-plugins-base1.0-dev | ||
shell: bash | ||
- name: 'installation: Build mtl' | ||
run: | | ||
./build.sh | ||
sudo ldconfig | ||
shell: bash | ||
- name: 'installation: Build openh264' | ||
working-directory: openh264 | ||
run: | | ||
make -j "$(nproc)" | ||
sudo make install | ||
sudo ldconfig | ||
shell: bash | ||
- name: 'installation: Build FFmpeg' | ||
working-directory: ffmpeg | ||
run: | | ||
git am ../ecosystem/ffmpeg_plugin/7.0/*.patch | ||
cp ../ecosystem/ffmpeg_plugin/mtl_*.c -rf libavdevice/ | ||
cp ../ecosystem/ffmpeg_plugin/mtl_*.h -rf libavdevice/ | ||
./configure --enable-shared --disable-static --enable-nonfree --enable-pic --enable-gpl --enable-libopenh264 --enable-encoder=libopenh264 --enable-mtl | ||
make -j "$(nproc)" | ||
sudo make install | ||
sudo ldconfig | ||
shell: bash | ||
- name: 'installation: Build GStreamer' | ||
working-directory: ecosystem/gstreamer_plugin | ||
run: | | ||
./build.sh | ||
shell: bash | ||
staszczuk marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
self-hosted-runner: | ||
labels: | ||
- DPDK | ||
- XDP | ||
staszczuk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- dpdk |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.