Skip to content

Commit

Permalink
Add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed Aug 31, 2024
1 parent 3bcd01c commit 12ffb59
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build
run: |
sudo apt-get update
sudo apt-get install libdrm-dev libcairo-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev
git clone https://github.com/rockchip-linux/mpp --depth 1
cd mpp
cmake -B build
sudo cmake --build build --target install
cd ..
cmake -B build
cmake --build build
- name: Upload
if: github.event_name != 'pull_request'
uses: softprops/action-gh-release@v2
with:
tag_name: latest
files: build/fpvue

0 comments on commit 12ffb59

Please sign in to comment.