Skip to content

Fixing YUV420p example issues #52

Fixing YUV420p example issues

Fixing YUV420p example issues #52

name: "Raspbian 12 Arm64"
on:
push:
branches: main
pull_request:
branches: main
permissions:
contents: read
pull-requests: read
jobs:
build-raspbian:
runs-on: [self-hosted, Linux, ARM]
# Map a step output to a job output
outputs:
package_name: ${{ steps.package.outputs.DEB_PACKAGE }}
steps:
- uses: actions/checkout@v3
- name: Apt Update
run: sudo apt-get update
- name: Apt Install
run: |
sudo ./scripts/init_build_machine.sh
- name: CMake and Build
run: mkdir build && cd build && cmake -DEXAMPLES=OFF -DBUILD_QT6=OFF -DGST_SUPPORTED=ON -DBUILD_RUST=OFF .. && make -j 4
- name: Install
run: cd build && cpack
- name: Package
run: |
cd build
cpack
echo "DEB_PACKAGE=$(ls *.deb)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: ${{ env.DEB_PACKAGE }}
path: build/${{ env.DEB_PACKAGE }}