Skip to content

Commit

Permalink
Merge pull request #33 from MistySOM/develop
Browse files Browse the repository at this point in the history
Merge Develop to Master and release version 2
  • Loading branch information
matinlotfali authored Jul 4, 2024
2 parents 5110965 + f45abfd commit ec7edfe
Show file tree
Hide file tree
Showing 62 changed files with 3,547 additions and 2,701 deletions.
57 changes: 53 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,71 @@ on:
pull_request:
branches: [ "master", "develop" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt install -y -f meson ninja-build gstreamer1.0-tools libgstreamer1.0-dev libunwind-dev
run: sudo apt update && sudo apt install -y -f meson ninja-build gstreamer1.0-tools libgstreamer1.0-dev libunwind-dev

- name: setup meson
run: meson setup build

- name: make
run: ninja -C build
- name: compile
run: meson compile -C build

- name: test
run: meson test -C build

- name: gst-inspect
run: gst-inspect-1.0 build/gst-plugin/libgstdrpai.so

build-aarch64-yocto-rpm:

needs: build
runs-on: DC02

steps:
- uses: actions/checkout@v4
with:
repository: MistySOM/rzv2l
path: rzv2l
ref: master
submodules: true

- uses: actions/checkout@v4
with:
path: gstreamer1.0-drpai

- name: Replace the RZV2L gstreamer1.0-drpai with the current one.
run: |
mv gstreamer1.0-drpai rzv2l/Build/meta-mistysom/recipes-drpai/gstreamer1.0-drpai/files
mv -f rzv2l/Build/meta-mistysom/recipes-drpai/gstreamer1.0-drpai/files/bitbake-recipes/* rzv2l/Build/meta-mistysom/recipes-drpai/gstreamer1.0-drpai
sed -i -e 's|git://github.com/MistySOM/gstreamer1.0-drpai.git;branch=master|file://.|g' rzv2l/Build/meta-mistysom/recipes-drpai/gstreamer1.0-drpai/gstreamer1.0-drpai.inc
echo "S = \"\${WORKDIR}\"" >> rzv2l/Build/meta-mistysom/recipes-drpai/gstreamer1.0-drpai/gstreamer1.0-drpai.inc
- name: Change the build to only gstreamer1.0-drpai
run: |
sed -i -e 's/bitbake mistysom-image/bitbake gst-launch-split gstreamer1.0-drpai gstreamer1.0-drpai-yolo/g' rzv2l/Build/exec.sh
sed -i -e 's|/tmp/deploy/images/|/tmp/deploy/rpm/aarch64/*|g' rzv2l/Build/exec.sh
- name: Build the Docker image
run: cd rzv2l/Build && ./build.sh;

- name: Run the Docker image and build output files
run: cd rzv2l/Build && ./run.sh -c /home/github/rzv2l-cache;

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: rpm-files
path: |
rzv2l/Build/output/gstreamer1.0-drpai*
rzv2l/Build/output/gst-launch-split*
15 changes: 0 additions & 15 deletions .idea/customTargets.xml

This file was deleted.

15 changes: 15 additions & 0 deletions .idea/deployment.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 12 additions & 9 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .idea/runConfigurations/MistySOM_V2L.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions .idea/tools/External Tools.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/watcherTasks.xml

This file was deleted.

Loading

0 comments on commit ec7edfe

Please sign in to comment.